-
Notifications
You must be signed in to change notification settings - Fork 17
/
.editorconfig
43 lines (37 loc) · 1.16 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Plugins are available for the following editors and IDE: Atom, Eclipse, Emacs, Notepad++, SublimeText, Vim, VisualStudio, Xcode (see http://editorconfig.org/)
# Force Makefile files settings (just in case someone changes the default settings)
[Makefile]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false
# Force CMake files settings (just in case someone changes the default settings)
[{CMakeLists.txt,*.cmake}]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false
# Force shell files settings (just in case someone changes the default settings)
[*.sh]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false
# Force LUA files settings (just in case someone changes the default settings)
[*.lua]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{c,cpp,h,hpp}]
charset = utf-8
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
indent_style = space
indent_size = 1
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false