-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
55 lines (44 loc) · 1.25 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
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.{cfg,toml}]
indent_size = 4
indent_style = space
# python sux
[*.py]
indent_size = 4
indent_style = space
# yaml sux even more
[*.{yml, yaml}]
indent_size = 2
indent_style = space
[*.mkdn]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false
[*.lua]
indent_style = tab
# EmmyLuaCodeStyle config
# Highly changable personal vibes
call_arg_parentheses = keep
# unfortunately this plugin takes "every statement should end with semicolon" to
# the joke level extreme and slaps a semicolon in literally every place that
# wouldn't cause a syntax error, resulting in very silly code, so we'll have to stick with manual semicor
end_statement_with_semicolon = same_line
quote_style = double
trailing_table_separator = smart
# sorry glua code style
space_inside_function_call_parentheses = false
space_inside_function_param_list_parentheses = false
space_inside_square_brackets = false
space_around_table_field_list = true
# Death to python style arg alignment
align_call_args = false
align_function_params = false
# Joy to property alignment though
align_continuous_assign_statement = true
align_continuous_rect_table_field = true