diff --git a/.editorconfig b/.editorconfig index 12af57e..50a7c86 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,16 +1,19 @@ -# EditorConfig is awesome: https://EditorConfig.org - -# top-most EditorConfig file -root = true - -[*] -indent_style = tab -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.{lua,toc,xml}] -end_of_line = crlf -insert_final_newline = false \ No newline at end of file +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{lua,toc,xml}] +end_of_line = crlf +insert_final_newline = false + +[*.lua] +trailing_table_separator = smart diff --git a/.luarc.json b/.luarc.json index cc77038..aa30547 100644 --- a/.luarc.json +++ b/.luarc.json @@ -3,8 +3,5 @@ "runtime.version": "Lua 5.1", "workspace.ignoreDir": [ ".vscode" - ], - "format.defaultConfig": { - "trailing_table_separator": "always" - } + ] }