summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-29 08:25:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-29 08:25:56 (GMT)
commit691c0b52d8cf9d9a63f863975b826f43b77c25e3 (patch)
tree16b18ea9e90932a9df908a308b85fb674df829e1
parent23a0290873b671c61ba3bc112ffc158fb859667a (diff)
downloadtcl-editorconfig.zip
tcl-editorconfig.tar.gz
tcl-editorconfig.tar.bz2
Editorconfig support (experimental)editorconfig
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..34b7bab
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+# Matches multiple files with brace expansion notation
+# Set default charset
+[*.{c,h}]
+charset = utf-8
+indent_style = tab
+indent_size = 4
+tab_width = 8
+trim_trailing_whitespace = true