forked from blender/blender
Campbell Barton
64a5f4ee5a
While there aren't many HTML files, use consistent formatting with 2 space indentation & 99 columns.
72 lines
1.3 KiB
INI
72 lines
1.3 KiB
INI
# C/C++
|
|
[*.{c,cc,h,hh,inl,glsl}]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 99
|
|
|
|
# CMake & Text
|
|
[*.{cmake,txt}]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 99
|
|
|
|
# Python
|
|
[*.py]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 4
|
|
max_line_length = 120
|
|
|
|
# Shell
|
|
[*.sh]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 99
|
|
|
|
# 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
|
|
|
|
# reStructuredText
|
|
[*.rst]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 3
|
|
max_line_length = 120
|
|
|
|
# Makefile
|
|
[{Makefile,GNUmakefile}]
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = tab
|
|
indent_size = 4
|
|
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
|