summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-06-29 19:06:44 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-06-29 19:06:44 (GMT)
commite93160d330b6919c04dfea163b3cc605f440c324 (patch)
treea53898eac80c6e89748232ba9d51f949471d04f3
parent2336f2329bfb57ef247c9fb277bb06fabf27f85f (diff)
downloadtk-editorconfig.zip
tk-editorconfig.tar.gz
tk-editorconfig.tar.bz2
Added EditorConfig support (experimental)editorconfig
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..7e589a9
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+# Rules here are following TIP 247: Tcl/Tk Engineering Manual
+# http://www.tcl.tk/cgi-bin/tct/tip/247
+
+# Topmost 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 = space
+indent_size = 4
+tab_width = 8
+trim_trailing_whitespace = true
+