mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
Change tab width for .go files to 4 (#11455)
* Change tab width for .go files to 4 I thing 8-wide tabs are kind of archaic and inconsisten with template files which already use 4-wide. Also did some misc cleanups in the .editorconfig files. * add css Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
4e302baa4c
commit
97cabf39cd
@ -1,4 +1,3 @@
|
|||||||
# http://editorconfig.org
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
@ -10,23 +9,15 @@ end_of_line = lf
|
|||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[*.go]
|
[*.{go,tmpl,html}]
|
||||||
indent_style = tab
|
|
||||||
indent_size = 8
|
|
||||||
|
|
||||||
[*.{tmpl,html}]
|
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
[*.less]
|
[*.{less,css}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
[*.{yml,json}]
|
[*.{js,json,yml}]
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[*.js]
|
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user