mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
lua-format: Tweaks attempting to fit our code style
This commit is contained in:
parent
39c96672e2
commit
b80f212813
1 changed files with 12 additions and 12 deletions
24
.lua-format
24
.lua-format
|
@ -1,26 +1,26 @@
|
||||||
align_args: true
|
align_args: false
|
||||||
align_parameter: true
|
align_parameter: false
|
||||||
align_table_field: true
|
align_table_field: true
|
||||||
break_after_functioncall_lp: false
|
break_after_functioncall_lp: false
|
||||||
break_after_functiondef_lp: false
|
break_after_functiondef_lp: false
|
||||||
break_after_operator: true
|
break_after_operator: false
|
||||||
break_after_table_lb: true
|
break_after_table_lb: true
|
||||||
break_before_functioncall_rp: false
|
break_before_functioncall_rp: false
|
||||||
break_before_functiondef_rp: false
|
break_before_functiondef_rp: false
|
||||||
break_before_table_rb: true
|
break_before_table_rb: true
|
||||||
chop_down_kv_table: true
|
chop_down_kv_table: true
|
||||||
chop_down_parameter: false
|
chop_down_parameter: false
|
||||||
chop_down_table: false
|
chop_down_table: true
|
||||||
column_limit: 80
|
column_limit: 150
|
||||||
column_table_limit: 80
|
column_table_limit: 120
|
||||||
continuation_indent_width: 4
|
continuation_indent_width: 1
|
||||||
double_quote_to_single_quote: false
|
double_quote_to_single_quote: false
|
||||||
extra_sep_at_table_end: false
|
extra_sep_at_table_end: true
|
||||||
indent_width: 4
|
indent_width: 1
|
||||||
keep_simple_control_block_one_line: true
|
keep_simple_control_block_one_line: true
|
||||||
keep_simple_function_one_line: true
|
keep_simple_function_one_line: true
|
||||||
single_quote_to_double_quote: false
|
single_quote_to_double_quote: false
|
||||||
spaces_before_call: 1
|
spaces_before_call: 1
|
||||||
table_sep: ','
|
table_sep: ","
|
||||||
tab_width: 4
|
tab_width: 1
|
||||||
use_tab: false
|
use_tab: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue