Add git files and cppo to .editorconfig

If the use of a four-space tab for files under .git aside from patches (and
commit messages if you use commit.verbose) is annoying to you, feel free to PR
this to make the .editorconfig more specific.

Additionally, cppo was not explicitly specified in editorconfig.  EditorConfig
applies rules based on filename, not filetype.  That doesn't bother me--there is
a vim modeline in the fiel.  It might bother you if you use something else.
This commit is contained in:
T. Joseph Carter 2017-07-18 11:03:24 -07:00
parent 2c44e50316
commit 4091c970f4
1 changed files with 6 additions and 2 deletions

View File

@ -5,11 +5,15 @@ root = true
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length=79
max_line_length=80
[.git/**]
indent_style = tab
indent_size = 4
[*.md]
trim_trailing_whitespace = false
[*.py]
[{*.py,cppo}]
indent_style = tab
indent_size = 4