-
Notifications
You must be signed in to change notification settings - Fork 0
/
editorconfig
56 lines (45 loc) · 840 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Default editor agnostic settings: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
# Default settings
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
# Tab indentation (no size specified)
[{Makefile,*.mk,GNUmakefile,makefile}]
indent_style = tab
# md
[*.md]
indent_size = 2
# Py
[*.{py,pyi}]
indent_style = space
indent_size = 4
# C,C++
#[**.c,*.h,*.cc,*.cpp]
[*.{c,h,cc,cpp}]
indent_style = space
indent_size = 2
# Yaml, JS
[*.{yml,yaml,js}]
indent_size = 2
indent_style = space
# teX, LaTeX
[*.{tex,latex}]
indent_size = 2
indent_style = space
# nim
[*.nim]
indent_size = 2
indent_style = space
# Java
[*.java]
indent_size = 2
indent_style = space
# Golang
[*.go]
indent_style = tab