Change tab width go,tmpl,html to 2 (#12572)
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>
This commit is contained in:
parent
0c0f049d09
commit
26bf4c51fb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ trim_trailing_whitespace = false
|
||||||
|
|
||||||
[*.{go,tmpl,html}]
|
[*.{go,tmpl,html}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 2
|
||||||
|
|
||||||
[*.{less,css}]
|
[*.{less,css}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
Reference in a new issue