diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-08-18 22:10:26 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-08-18 22:10:26 +0200 |
| commit | dcaf6a09b2d3a100490da7432b9456c9f14ba99b (patch) | |
| tree | 5ca1392f815615b55cd34c226d12a685b8941bd6 /.editorconfig | |
| parent | c8a992be116bdf056a784f1a019b10f2b050a99c (diff) | |
| download | dotfiles-dcaf6a09b2d3a100490da7432b9456c9f14ba99b.tar.gz dotfiles-dcaf6a09b2d3a100490da7432b9456c9f14ba99b.zip | |
More formatting options for lua
Diffstat (limited to '.editorconfig')
| -rw-r--r-- | .editorconfig | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig index 94f45d5..1a20136 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true indent_style = space -#indent_size = 4 +indent_size = 4 max_line_length = 10000 # TypeScript/JavaScript config @@ -19,8 +19,20 @@ indent_size = 2 indent_size = 2 # Lua config -[**.lua] +[*.lua] indent_size = 2 +tab_width = 2 +# none/single/double +quote_style = single +# [line break] +break_all_list_when_line_exceed = false +auto_collapse_lines = false +break_before_braces = false +# [preference] +ignore_space_after_colon = false +remove_call_expression_list_finish_comma = false +end_statement_with_semicolon = keep + # Python config [*.py] |
