editorconfig: add line length, glsl

This commit is contained in:
Campbell Barton
2018-06-18 18:21:35 +02:00
parent ce7c87fbda
commit b7b7468bef

View File

@@ -1,10 +1,11 @@
# C/C++
[*.{c,cc,h,hh,inl}]
[*.{c,cc,h,hh,inl,glsl}]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
max_line_length = 120
# CMake & Text
[*.{cmake,txt}]
@@ -13,6 +14,7 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4
max_line_length = 120
# Python
[*.py]
@@ -21,6 +23,7 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
max_line_length = 120
# Shell
[*.sh]
@@ -29,3 +32,4 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4
max_line_length = 120