summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-10-05 11:13:17 +0200
committerChristian Hesse <mail@eworm.de>2015-10-05 11:13:17 +0200
commit1cda2d73976e5c7cfccdfb67254ad46b7d280ae9 (patch)
tree39077e69cb3fb0bf254951694c48b64bb6500ecf /.editorconfig
parent68c3270be82e59d01d45d8ee26d034897c40063a (diff)
add editorconfig file to give hints to editors
We use an unusual indent of three spaces. Let's give editors a hint about that.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..18807892
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# EditorConfig configuration for htop
+# http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file, utf-8 charset
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+# match C source and header files, set indent to three spaces
+[*.{c,h}]
+indent_style = space
+indent_size = 3

© 2014-2024 Faster IT GmbH | imprint | privacy policy