1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Go uses ident size 8 with tabs. Nothing else.

We are using gofmt to format our code. This will emit tabs.
The standard is tabs which is 8 spaces.
This commit is contained in:
Matthias Loibl 2016-11-08 11:41:02 +01:00
parent 85b8b7f4e1
commit 1ceb56fc7f

View file

@ -10,7 +10,7 @@ trim_trailing_whitespace = true
[*.go]
indent_style = tab
indent_size = 4
indent_size = 8
[*.tmpl]
indent_style = tab