Skip to content

Commit

Permalink
Add .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 8, 2020
1 parent f55abfe commit 5d3cfbd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# editorconfig.org
root = true

[{*.patch,syntax_test_*}]
trim_trailing_whitespace = false

[{*.c,*.cpp,*.h}]
charset = utf-8

[{*.c,*.cpp,*.h,Makefile}]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
indent_style = space
indent_size = 2

[{*.py,*.conf,*.sublime-project}]
indent_style = tab
indent_size = 4

0 comments on commit 5d3cfbd

Please sign in to comment.