summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-08-09 02:28:47 +0200
committerMarc Cornellà <marc.cornella@live.com>2019-06-03 17:18:22 +0200
commit73ef051aaecd5a63b84585bf67e263642660abb4 (patch)
treed8fcc3e139f1ba6ef6f65e6e356471bfab897008 /.editorconfig
parent9a832cccef79084e02028ca2fa8b021817256ad4 (diff)
downloadzsh-73ef051aaecd5a63b84585bf67e263642660abb4.tar.gz
zsh-73ef051aaecd5a63b84585bf67e263642660abb4.tar.bz2
zsh-73ef051aaecd5a63b84585bf67e263642660abb4.zip
installer: use tabs to allow future heredocs
This will allow us to use tab stripping heredocs with `<<-'. See http://www.tldp.org/LDP/abs/html/here-docs.html#EX71A Add editorconfig file to enforce this style. See http://editorconfig.org for more information.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..aa18e0e5c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+[*.sh]
+indent_size = 4
+indent_style = tab