Add editorconfig (#997)

Add editorconfig
This commit is contained in:
Jay Thomas 2017-10-14 10:55:33 -04:00 committed by w0rp
parent 663fe75d0f
commit 618074a053
2 changed files with 15 additions and 0 deletions

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
# EditorConfig is awesome: http://EditorConfig.org
# Top-most EditorConfig file
root = true
# Match and apply these rules for all file
# types you open in your code editor
[*]
# Unix-style newlines
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
/init.vim /init.vim
/doc/tags /doc/tags
.* .*
!.editorconfig
*.obj *.obj
tags tags