summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-analyzer/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-analyzer/.editorconfig')
-rw-r--r--src/tools/rust-analyzer/.editorconfig13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/tools/rust-analyzer/.editorconfig b/src/tools/rust-analyzer/.editorconfig
index 314f79d3f..f00ade5fd 100644
--- a/src/tools/rust-analyzer/.editorconfig
+++ b/src/tools/rust-analyzer/.editorconfig
@@ -7,13 +7,10 @@ trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
indent_style = space
-
-[*.{rs,toml}]
indent_size = 4
-[*.ts]
-indent_size = 4
-[*.js]
-indent_size = 4
-[*.json]
-indent_size = 4
+[*.md]
+indent_size = 2
+
+[*.{yml, yaml}]
+indent_size = 2