-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
116 lines (84 loc) · 1.59 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# EditorConfig: a universal project-level configuration file for text editors & IDEs
# Download your plugin at https://editorconfig.org/#download
#
# This list is maintained at https://gitlab.com/0x326/editorconfig
# and released into the public domain (See https://gitlab.com/0x326/editorconfig/-/blob/master/LICENSE)
# To update this file, run:
#
# wget https://gitlab.com/0x326/editorconfig/-/raw/master/.editorconfig -O .editorconfig
root = true
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[{Makefile,*.mk}]
indent_style = tab
[Bakefile]
indent_size = 4
[Dockerfile]
indent_size = 4
[Caddyfile]
indent_size = 4
# Web programming
[*.{html,htm}]
indent_size = 2
[*.css]
indent_size = 4
[*.{js,ts}]
indent_size = 2
[*.{jsx,tsx}]
indent_size = 2
[*.php]
indent_size = 2
# Java
[*.java]
indent_size = 4
# Python
[*.py]
indent_size = 4
# C/C++
[*.{c,cpp}]
indent_size = 4
# Shell scripting
[*.sh]
indent_size = 4
[*.ps1]
indent_size = 4
# Data serialization
[*.json]
indent_size = 2
[*.{yml,yaml}]
indent_size = 2
# Documentation
[*.{md,markdown}]
indent_size = 2
[*.rst]
indent_size = 3
# Misc
[*.{R,r}]
indent_size = 4
[CMakeLists.txt]
indent_size = 4
[*.sql]
indent_size = 4
[*.tex]
indent_size = 4
[*.bib]
indent_style = tab
# clingo (https://potassco.org/clingo/)
[*.lp]
indent_size = 4
[*.dot]
indent_size = 4
# Mermaid (https://mermaid-js.github.io/mermaid/)
[*.mmd]
indent_style = tab
[{.tmux.conf,.tmux.conf.local}]
indent_size = 2
[.ssh/config]
indent_style = tab
[.gitconfig]
indent_style = tab