From fff874181731c0e7de02ad23ca7f3760fba0367b Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Sun, 3 Jun 2018 00:50:58 -0700 Subject: [PATCH] Update .editorconfig so that it'll actually work --- .editorconfig | 11 ++++++++--- plugin/.editorconfig | 4 ---- server/.editorconfig | 5 ----- 3 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 plugin/.editorconfig delete mode 100644 server/.editorconfig 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