forked from We-the-People-civ4col-mod/Mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
59 lines (45 loc) · 1.1 KB
/
Copy path.editorconfig
File metadata and controls
59 lines (45 loc) · 1.1 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# EditorConfig info https://editorconfig.org
# for notepad++ support, go to Plugins->Plugins Admin... and install EditorConfig
# top-most EditorConfig file
root = true
# Standard for all files
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# individual files are below this
# even if they are often alike, they are still grouped logically in case we need to add settings specific to one group later.
# if anything is mentioned, which is also in the standard for all files, the file specific part takes priority.
# python
[*.py]
# exe expects windows style eol in python files
# python coding guidelines says use 4 spaces as indentation
end_of_line = crlf
indent_style = space
indent_size = 4
# Makefile
[Makefile]
indent_style = tab
indent_size = 4
# xml
[*.xml]
indent_style = tab
indent_size = 4
# C++
[*.{c,cpp,h,hpp}]
indent_style = tab
indent_size = 4
# perl
[*.{pl, pm}]
indent_style = tab
indent_size = 4
# premade maps
[*.ColonizationWBSave]
end_of_line = crlf
indent_style = tab
indent_size = 4
# premade maps
[*.html]
indent_style = tab
indent_size = 4