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
|
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
# C/C++
[*.{c,cc,cpp,cxx,h,hh,hpp,hxx,ixx}]
indent_size = 4
indent_style = tab
# Go
[*.go]
indent_size = 4
indent_style = tab
# Python
[*.py]
indent_size = 4
indent_style = space
max_line_length = 72
# Haskell
[*.hs]
indent_size = 2
indent_style = space
# Lisp(s)
[*.{lisp,cl,rkt,scm,el}]
indent_size = 2
indent_style = space
# Zig
[*.zig]
indent_size = 4
indent_style = tab
# Assembly
[*.{asm,s}]
indent_size = 4
indent_style = tab
# GNU Cringetools
[configure.ac]
indent_size = 4
indent_style = tab
# Make
[{Makefile*,*.mk}]
indent_size = 4
indent_style = tab
# CMake
[{CMakeLists.txt,*.cmake}]
indent_size = 8
indent_style = tab
# Nix
[*.nix]
indent_size = 2
indent_style = space
# HCL
[*.{tf,hcl}]
indent_size = 2
indent_style = space
# JSON
[*.json]
indent_size = 2
indent_style = space
# YAML
[*.{yaml,yml}]
indent_size = 2
indent_style = space
# TOML
[*.{toml,tml}]
indent_size = 4
indent_style = space
# Markup
[*.{html,xml}]
indent_size = 4
indent_style = tab
# (La)TeX
[*.{tex,cls}]
indent_size = 4
indent_style = tab
|