aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-16 23:59:06 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-16 23:59:06 +0200
commitc8a992be116bdf056a784f1a019b10f2b050a99c (patch)
tree575a0b4a2fe03c9a3d25db2cc83ec54f8200213a
parentbd3ead910516056dc122c9ccdf78ef2bb8991152 (diff)
downloaddotfiles-c8a992be116bdf056a784f1a019b10f2b050a99c.tar.gz
dotfiles-c8a992be116bdf056a784f1a019b10f2b050a99c.zip
More options for other filetypes
-rw-r--r--.editorconfig14
1 files changed, 13 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 234928e..94f45d5 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
@@ -22,6 +22,18 @@ indent_size = 2
[**.lua]
indent_size = 2
+# Python config
+[*.py]
+indent_size = 4
+
+# Bash config
+[*.bash]
+indent_size = 4
+
+# Yaml config
+[*.yml]
+indent_size = 2
+
# Latex config
[**.tex]
trim_trailing_whitespace = false