Added gitattributes and updated editorconfig files

This commit is contained in:
s1lent 2019-09-21 18:57:14 +07:00
parent c35545a5b8
commit ec98c5db68
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C
2 changed files with 28 additions and 0 deletions

View File

@ -8,4 +8,5 @@ root = true
[*]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

27
.gitattributes vendored Normal file
View File

@ -0,0 +1,27 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
*.sh -lf
gradlew -lf
# Sources
*.c text diff=c
*.cc text diff=cpp
*.cxx text diff=cpp
*.cpp text diff=cpp
*.c++ text diff=cpp
*.hpp text diff=cpp
*.h text diff=c
*.h++ text diff=cpp
*.hh text diff=cpp
# Compiled Object files
*.o binary
*.a binary
*.obj binary
*.lib binary
# Project files
#*.sln merge=binary
#*.vcxproj merge=binary