summaryrefslogtreecommitdiff
path: root/dot_editorconfig
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-04-21 10:59:21 +0200
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-04-21 10:59:21 +0200
commit63dd5b779d9f34de96e4af89c1404292b9951b32 (patch)
treee9169259c295069a521655aec69156bd05d00c51 /dot_editorconfig
parentgit: don't force external difft (diff)
editorconfig: add jsonc, xml support
I've been having to work with jsonc and xml recently. Long enough to get some preferences. Potentially to be expanded upon later.
Diffstat (limited to '')
-rw-r--r--dot_editorconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/dot_editorconfig b/dot_editorconfig
index 27e3c50..46c3721 100644
--- a/dot_editorconfig
+++ b/dot_editorconfig
@@ -13,6 +13,9 @@ trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
-[*.{janet,json,md,yaml,yml}]
+[*.{janet,json,jsonc,md,yaml,yml}]
indent_style = space
indent_size = 2
+
+[*.xml]
+indent_size = 2