Skip to content

Commit b21982f

Browse files
committed
[style] Add conventions for more file types
1 parent fc548a3 commit b21982f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.editorconfig

+14-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ tab_width = 8
1717
indent_style = space
1818
indent_size = 4
1919

20+
# Java file conventions
21+
[*.java]
22+
indent_style = space
23+
indent_size = 4
24+
25+
# Kotlin file conventions
26+
[*.kt]
27+
indent_style = space
28+
indent_size = 4
29+
2030
# Python file conventions
2131
[*.py]
2232
indent_style = space
@@ -28,4 +38,7 @@ indent_style = space
2838
indent_size = 2
2939
trim_trailing_whitespace = false
3040

31-
41+
# LaTeX file conventions
42+
[*.{tex,cls,sty}]
43+
indent_style = space
44+
indent_size = 2

0 commit comments

Comments
 (0)