2018-06-18 12:09:45 -04:00
|
|
|
# C/C++
|
2018-06-18 12:21:35 -04:00
|
|
|
[*.{c,cc,h,hh,inl,glsl}]
|
2018-06-18 12:09:45 -04:00
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 00:12:55 -04:00
|
|
|
indent_style = space
|
2019-04-17 07:34:26 -04:00
|
|
|
indent_size = 2
|
2019-04-17 00:12:55 -04:00
|
|
|
max_line_length = 99
|
2018-06-18 12:09:45 -04:00
|
|
|
|
|
|
|
# CMake & Text
|
|
|
|
[*.{cmake,txt}]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 00:12:55 -04:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 12:09:45 -04:00
|
|
|
|
|
|
|
# Python
|
|
|
|
[*.py]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2018-06-18 12:21:35 -04:00
|
|
|
max_line_length = 120
|
2018-06-18 12:09:45 -04:00
|
|
|
|
|
|
|
# Shell
|
|
|
|
[*.sh]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 00:12:55 -04:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 12:53:49 -04:00
|
|
|
|
2022-04-19 01:50:35 -04:00
|
|
|
# Tom's Obvious Minimal Language
|
|
|
|
[*.toml]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
max_line_length = 120
|
|
|
|
|
2018-06-18 12:53:49 -04:00
|
|
|
# reStructuredText
|
|
|
|
[*.rst]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 3
|
|
|
|
max_line_length = 120
|
2022-02-09 17:20:34 -05:00
|
|
|
|
|
|
|
# Makefile
|
|
|
|
[{Makefile,GNUmakefile}]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
2023-12-07 21:28:13 -05:00
|
|
|
max_line_length = 120
|
|
|
|
|
|
|
|
# HTML
|
|
|
|
[*.html]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|