aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/.lua-format
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/.lua-format')
-rw-r--r--.config/nvim/.lua-format34
1 files changed, 34 insertions, 0 deletions
diff --git a/.config/nvim/.lua-format b/.config/nvim/.lua-format
new file mode 100644
index 0000000..0c78da7
--- /dev/null
+++ b/.config/nvim/.lua-format
@@ -0,0 +1,34 @@
+# vi: ft=yaml
+column_limit: 80
+indent_width: 1
+use_tab: true
+tab_width: 4
+continuation_indent_width: 4
+spaces_before_call: 1
+keep_simple_control_block_one_line: true
+keep_simple_function_one_line: true
+align_args: true
+break_after_functioncall_lp: false
+break_before_functioncall_rp: false
+spaces_inside_functioncall_parens: false
+spaces_inside_functiondef_parens: false
+align_parameter: true
+chop_down_parameter: false
+break_after_functiondef_lp: false
+break_before_functiondef_rp: false
+align_table_field: true
+break_after_table_lb: true
+break_before_table_rb: true
+chop_down_table: false
+chop_down_kv_table: true
+table_sep: ","
+extra_sep_at_table_end: true
+column_table_limit: 80
+spaces_inside_table_braces: true
+break_after_operator: true
+double_quote_to_single_quote: false
+single_quote_to_double_quote: true
+spaces_around_equals_in_field: true
+line_breaks_after_function_body: 1
+line_separator: input
+