summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-05-03 00:10:22 -0400
committerAllan McRae <allan@archlinux.org>2018-05-14 09:59:20 +1000
commit1e7a19113628f30450903526c36db3cde0def543 (patch)
treed4214828ff61970651c985e5ac8250718ff9038c /.editorconfig
parent076b6184de2b20e9b26225d93f6f3a7030504109 (diff)
downloadpacman-1e7a19113628f30450903526c36db3cde0def543.tar.xz
Add http://EditorConfig.org configuration
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..273eef48
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+# EditorConfig configuration for pacman
+# http://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+# Unix-style newlines without trailing whitespaces, but with a newline
+# ending every file, utf-8 charset, set indent to tabs
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = tab
+
+[NEWS,HACKING]
+indent_style = space
+
+[*.py]
+indent_style = space