From 302e577de40a348d33529e5cec56f3114f5128fd Mon Sep 17 00:00:00 2001 From: Nikita Kruglickiy Date: Wed, 17 Mar 2021 18:37:38 +0600 Subject: [PATCH] lua-format --- .gitignore | 3 ++- .lua-format | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .lua-format 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 +