summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJason Nader <jason.nader@protonmail.com>2021-11-19 16:27:48 +0900
committerSimon Ser <contact@emersion.fr>2021-11-19 09:20:51 +0100
commite10d02c77e54cb035c625e255f0df208cb3c86a0 (patch)
treeef6fd84d5260bc1eb41373605796143d9d17e71d /.editorconfig
parent5e2df3a600e07b71923c28a8cd51861289319c91 (diff)
downloadswaybg-e10d02c77e54cb035c625e255f0df208cb3c86a0.tar.gz
swaybg-e10d02c77e54cb035c625e255f0df208cb3c86a0.tar.bz2
Add editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..825871a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
+# For the full list of code style requirements, see sway's CONTRIBUTING.md
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+
+[*.{c,h,cmake,txt}]
+indent_style = tab
+indent_size = 4
+
+[*.{xml,yml}]
+indent_style = space
+indent_size = 2
+
+[config]
+indent_style = space
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false