aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-02-29 17:33:46 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2024-02-29 17:33:46 +0100
commit1a1e314f1f41e6194aba19332d7d522cae891c7c (patch)
tree1ed7d0d773a115af6ebca24ec41b4e2872a2f3ac
parente18e989e51b6dfc57327dee3bb02c1ee1050be0a (diff)
downloaddotfiles-1a1e314f1f41e6194aba19332d7d522cae891c7c.tar.gz
dotfiles-1a1e314f1f41e6194aba19332d7d522cae891c7c.zip
add editorconfigs
-rw-r--r--.editorconfig14
-rw-r--r--config/vis/.editorconfig3
2 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d81d726
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*]
+charset = utf-8
+trim_trailing_whitespace = true
+end_of_line = lf
+insert_final_newline = true
+
+[*.{md}]
+indent_style = space
+indent_size = 2
+
+[*COMMIT_EDITMSG]
+spelling_language = en_US
diff --git a/config/vis/.editorconfig b/config/vis/.editorconfig
new file mode 100644
index 0000000..9a6cc75
--- /dev/null
+++ b/config/vis/.editorconfig
@@ -0,0 +1,3 @@
+[*.lua]
+indent_style = space
+indent_size = 2