Commit ba1bd4e0e2e360613958a1a9c11f366416f355d3
Committed by
GitHub
Merge pull request #3044 from Xotic750/fix_editor_config
Fix: Project is using 4 spaces but editor config is wrong when user e…
Showing
1 changed file
with
19 additions
and
2 deletions
Show diff stats
.editorconfig
1 | +# This file is for unifying the coding style for different editors and IDEs | ||
2 | +# editorconfig.org | ||
3 | + | ||
4 | +# top-most EditorConfig file | ||
1 | root = true | 5 | root = true |
2 | 6 | ||
7 | +# every file | ||
8 | +[*] | ||
3 | charset = utf-8 | 9 | charset = utf-8 |
4 | -indent_style = space | ||
5 | -indent_size = 4 | ||
6 | end_of_line = lf | 10 | end_of_line = lf |
11 | +indent_size = 4 | ||
12 | +indent_style = space | ||
7 | insert_final_newline = true | 13 | insert_final_newline = true |
8 | trim_trailing_whitespace = true | 14 | trim_trailing_whitespace = true |
15 | + | ||
16 | +# 4 space indentation | ||
17 | +[*.py] | ||
18 | +indent_size = 4 | ||
19 | + | ||
20 | +# Tab indentation (no size specified) | ||
21 | +[Makefile] | ||
22 | +indent_style = tab | ||
23 | + | ||
24 | +[*.md] | ||
25 | +trim_trailing_whitespace = false |