mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00:00
26bf4c51fb
Make it easier to edit deeply nested code. I plan to convert Less to 2-space so that we have standardized indentation width in the codebase. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
29 lines
384 B
INI
29 lines
384 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.{go,tmpl,html}]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
|
|
[*.{less,css}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{js,json,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.svg]
|
|
insert_final_newline = false
|