summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorendoffile78 <endoffile78@yahoo.com>2017-12-24 00:58:59 -0600
committerendoffile78 <endoffile78@yahoo.com>2017-12-25 10:55:04 -0600
commitdf40fd8db0af5d74870de1c777bd955536bac3e7 (patch)
tree6bd208a901f93ca4541042c6e7caa8b627458a7a /.editorconfig
parenta3a22ae67e43e82bd3f0a969d65a53574ce47067 (diff)
Add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..0a93060a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
1root = true
2
3[*]
4end_of_line = lf
5insert_final_newline = true
6trim_trailing_whitespace = true
7
8[*.{c,h}]
9indent_style = space
10indent_size = 4
11
12[*.{yml,sh,cmake}]
13indent_style = space
14indent_size = 2
15
16[Makefile]
17indent_style = tab
18indent_size = 4
19
20[CMakeLists.txt]
21indent_style = space
22indent_size = 2