diff --git a/.editorconfig b/.editorconfig index 702598e1..ddf4648d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,12 +4,17 @@ root = true end_of_line = lf charset = utf-8 -[*.json] +[*.{json,js,css}] indent_style = space indent_size = 2 trim_trailing_whitespace = true -[*.md] +[*.{md,rs}] indent_style = space indent_size = 4 -trim_trailing_whitespace = true \ No newline at end of file +trim_trailing_whitespace = true + +[*.lua] +indent_style = tab +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/plugin/.editorconfig b/plugin/.editorconfig deleted file mode 100644 index da77c5d6..00000000 --- a/plugin/.editorconfig +++ /dev/null @@ -1,4 +0,0 @@ -[*.lua] -indent_style = tab -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file diff --git a/server/.editorconfig b/server/.editorconfig deleted file mode 100644 index 1be11156..00000000 --- a/server/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -[*.rs] -indent_style = space -indent_size = 4 -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file