-
Notifications
You must be signed in to change notification settings - Fork 37
/
.editorconfig
36 lines (29 loc) · 705 Bytes
/
.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
# EditorConfig
#
# This file configures indentation styles for source files in
# supporting editors.
#
# See https://editorconfig.org/ for more.
# Do not search for additional .editorconfig files above this
# directory.
root = true
[*]
end_of_line = lf # Unix-style newlines
charset = utf-8 # All files are in UTF-8
insert_final_newline = true # All files end with a newline
trim_trailing_whitespace = true # No trailing whitespaces
[Makefile]
indent_style = tab
tab_width = 4
[{*.py,ns3}]
indent_style = space
indent_size = 4
[*.{cc,h}]
indent_style = space
indent_size = 4
[{CMakeLists.txt,*.cmake}]
indent_style = space
indent_size = 2
[*.{md,rst,yml,yaml}]
indent_style = space
indent_size = 2