Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-18 19:21:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-18 19:21:35 +0300
commitb7b7468befbf401615d944df5263198d964fe19e (patch)
treed133a36d72a5df6104aa5d028e36ce2b6e884658 /.editorconfig
parentce7c87fbda96cec7d1fe44c0b9e27e96748bfa8f (diff)
editorconfig: add line length, glsl
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index d0e94a11ed0..af00a097621 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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