aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-28 14:55:17 +0200
committerKim Alvefur <zash@zash.se>2021-07-28 14:55:17 +0200
commitde20f810d37b503b0bd952d6be737d9ef6239599 (patch)
treea160fa5013e36a13d306e98cd928d1fe8b618039
parentb80f21281375a2abe2d07f6c61517eada5aa4f20 (diff)
downloadprosody-de20f810d37b503b0bd952d6be737d9ef6239599.tar.gz
prosody-de20f810d37b503b0bd952d6be737d9ef6239599.zip
lua-format: Add new settings
-rw-r--r--.lua-format6
1 files changed, 6 insertions, 0 deletions
diff --git a/.lua-format b/.lua-format
index f2cd96af..58e4eac8 100644
--- a/.lua-format
+++ b/.lua-format
@@ -19,8 +19,14 @@ extra_sep_at_table_end: true
indent_width: 1
keep_simple_control_block_one_line: true
keep_simple_function_one_line: true
+line_breaks_after_function_body: 1
+line_separator: input
single_quote_to_double_quote: false
+spaces_around_equals_in_field: true
spaces_before_call: 1
+spaces_inside_functioncall_parens: false
+spaces_inside_functiondef_parens: false
+spaces_inside_table_braces: true
table_sep: ","
tab_width: 1
use_tab: true