Merge pull request #3044 from Xotic750/fix_editor_config

Fix: Project is using 4 spaces but editor config is wrong when user e…
This commit is contained in:
Aresn 2018-02-26 16:50:59 +08:00 committed by GitHub
commit ba1bd4e0e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# top-most EditorConfig file
root = true
# every file
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# 4 space indentation
[*.py]
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
[*.md]
trim_trailing_whitespace = false