2018-06-18 16:09:45 +00:00
|
|
|
# C/C++
|
2018-06-18 16:21:35 +00:00
|
|
|
[*.{c,cc,h,hh,inl,glsl}]
|
2018-06-18 16:09:45 +00:00
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 04:12:55 +00:00
|
|
|
indent_style = space
|
2018-06-18 16:09:45 +00:00
|
|
|
indent_size = 4
|
2019-04-17 04:12:55 +00:00
|
|
|
max_line_length = 99
|
2018-06-18 16:09:45 +00:00
|
|
|
|
|
|
|
# CMake & Text
|
|
|
|
[*.{cmake,txt}]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 04:12:55 +00:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 16:09:45 +00:00
|
|
|
|
|
|
|
# Python
|
|
|
|
[*.py]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2018-06-18 16:21:35 +00:00
|
|
|
max_line_length = 120
|
2018-06-18 16:09:45 +00:00
|
|
|
|
|
|
|
# Shell
|
|
|
|
[*.sh]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 04:12:55 +00:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 16:53:49 +00:00
|
|
|
|
|
|
|
# reStructuredText
|
|
|
|
[*.rst]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 3
|
|
|
|
max_line_length = 120
|