Added .editorconfig.

This commit is contained in:
Branimir Karadzic 2014-11-06 20:28:50 -08:00
parent 123b2742b1
commit ace930ebd9
2 changed files with 13 additions and 0 deletions

10
.editorconfig Normal file
View file

@ -0,0 +1,10 @@
[*]
indent_style = tab
indent_size = 4
end_of_line = LF
max_line_length = 100
insert_final_newline = true
[{*.c, *.cpp, *.sc, *.sh, *.lua, *.m, *.mm, *.mk, makefile}]
trim_trailing_whitespace = true

3
.gitattributes vendored
View file

@ -1,7 +1,10 @@
*.c eol=lf
*.cpp eol=lf
*.h eol=lf
*.sc eol=lf
*.sh eol=lf
*.m eol=lf
*.mm eol=lf
*.md eol=lf
*.lua eol=lf
*.mk eol=lf