mirror of
https://github.com/iKarith/cppo-ng.git
synced 2025-01-02 15:29:20 +00:00
4091c970f4
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.
20 lines
291 B
INI
20 lines
291 B
INI
# This is the topmost .editorconfig file
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
max_line_length=80
|
|
|
|
[.git/**]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
[{*.py,cppo}]
|
|
indent_style = tab
|
|
indent_size = 4
|