StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

Extend the `call_parentheses` option to allow separate configurations for strings and tables

Open lolmanurfunny opened this issue 11 months ago • 0 comments

Given the configuration options that are currently available, there's no way of enforcing a consistent style for single table calls, while at the same time never altering single string calls. If you could define them separately, then you could achieve this exact behavior given the following config:

[call_parentheses]
single_table = "None" # Remove the parentheses from table calls,
single_string = "Input" # but don't touch my string calls!

lolmanurfunny avatar Feb 06 '25 06:02 lolmanurfunny