diff --git a/.gitignore b/.gitignore index 7366e5e..037d323 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /*/ !/koptilnya !README.md -!.gitignore \ No newline at end of file +!.gitignore +!.lua-format \ No newline at end of file diff --git a/.lua-format b/.lua-format new file mode 100644 index 0000000..d61b81c --- /dev/null +++ b/.lua-format @@ -0,0 +1,12 @@ +# Install vs-code extension: koihik.vscode-lua-format +# Then set the config file + +column_limit: 280 +line_breaks_after_function_body: 2 +keep_simple_control_block_one_line: false +keep_simple_function_one_line: false +break_after_functioncall_lp: false +break_before_functioncall_rp: false +use_tab: false +continuation_indent_width: 1 +