mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
lua-format: Further tweaks
Keeping things a single line makes very deeply nested things "pyramids" a single line, which makes them hard to read.
This commit is contained in:
parent
de20f810d3
commit
7afae2218d
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ continuation_indent_width: 1
|
||||||
double_quote_to_single_quote: false
|
double_quote_to_single_quote: false
|
||||||
extra_sep_at_table_end: true
|
extra_sep_at_table_end: true
|
||||||
indent_width: 1
|
indent_width: 1
|
||||||
keep_simple_control_block_one_line: true
|
keep_simple_control_block_one_line: false
|
||||||
keep_simple_function_one_line: true
|
keep_simple_function_one_line: false
|
||||||
line_breaks_after_function_body: 1
|
line_breaks_after_function_body: 1
|
||||||
line_separator: input
|
line_separator: input
|
||||||
single_quote_to_double_quote: false
|
single_quote_to_double_quote: false
|
||||||
|
@ -27,6 +27,6 @@ spaces_before_call: 1
|
||||||
spaces_inside_functioncall_parens: false
|
spaces_inside_functioncall_parens: false
|
||||||
spaces_inside_functiondef_parens: false
|
spaces_inside_functiondef_parens: false
|
||||||
spaces_inside_table_braces: true
|
spaces_inside_table_braces: true
|
||||||
table_sep: ","
|
|
||||||
tab_width: 1
|
tab_width: 1
|
||||||
|
table_sep: ";"
|
||||||
use_tab: true
|
use_tab: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue