From 4091c970f40b9fcf8ef2cb917e7b6c61ae2ec6be Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Tue, 18 Jul 2017 11:03:24 -0700 Subject: [PATCH] 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. --- .editorconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index c444803..3152334 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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