forked from picoCTF/picoCTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
36 lines (26 loc) · 802 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
root = true
#### Indent 2 + space is more trendy these days ################################
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
tab_width = 8
trim_trailing_whitespace = true
#### 4 spaces ##################################################################
[*.{cs,py}]
indent_size = 4
#### Tabs; some editors use indent_size to align ###############################
[{Makefile,.gitconfig}]
indent_size = 8
indent_style = tab
[*.{go,s}]
indent_size = 8
indent_style = tab
#### Special treatments ########################################################
# LISP and family have a special convention for indentation
[*.el]
indent_size = unset
# Markdown uses trailing whitespace to mean mandatory line-break
[*.md]
trim_trailing_whitespace = false