-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
40 lines (32 loc) · 1006 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
# -----------------------------------------------
# ---- EditorConfig ---------------------------
# ---- https://editorconfig.org ---------------
# -----------------------------------------------
# -----------------------------------------------
# ---- General --------------------------------
# -----------------------------------------------
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
max_line_length = 110
# -----------------------------------------------
# ---- Rust -----------------------------------
# -----------------------------------------------
[*.{rs,S,ld}]
indent_style = tab
[Justfile]
indent_style = tab
# -----------------------------------------------
# ---- Shell (Bash) ---------------------------
# -----------------------------------------------
[*.sh]
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false
function_next_line = true