2018-06-18 18:09:45 +02:00
|
|
|
# C/C++
|
2018-06-18 18:21:35 +02:00
|
|
|
[*.{c,cc,h,hh,inl,glsl}]
|
2018-06-18 18:09:45 +02:00
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 06:12:55 +02:00
|
|
|
indent_style = space
|
2019-04-17 13:34:26 +02:00
|
|
|
indent_size = 2
|
2019-04-17 06:12:55 +02:00
|
|
|
max_line_length = 99
|
2018-06-18 18:09:45 +02:00
|
|
|
|
|
|
|
# CMake & Text
|
|
|
|
[*.{cmake,txt}]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 06:12:55 +02:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 18:09:45 +02:00
|
|
|
|
|
|
|
# Python
|
|
|
|
[*.py]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2018-06-18 18:21:35 +02:00
|
|
|
max_line_length = 120
|
2018-06-18 18:09:45 +02:00
|
|
|
|
|
|
|
# Shell
|
|
|
|
[*.sh]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2019-04-17 06:12:55 +02:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
max_line_length = 99
|
2018-06-18 18:53:49 +02:00
|
|
|
|
2022-04-19 07:50:35 +02: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 18:53:49 +02: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 23:20:34 +01:00
|
|
|
|
|
|
|
# Makefile
|
|
|
|
[{Makefile,GNUmakefile}]
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
2023-12-08 03:28:13 +01: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
|