diff options
author | Matthias Loibl <mail@matthiasloibl.com> | 2016-11-08 11:41:02 +0100 |
---|---|---|
committer | Matthias Loibl <mail@matthiasloibl.com> | 2016-11-08 11:41:02 +0100 |
commit | 1ceb56fc7f243fe0edada5a846f645ce8b99390e (patch) | |
tree | 4d49faa0bdcdd289f617f7e50105dbc424db08ed | |
parent | 85b8b7f4e1e242831751d8559745e4076d59b847 (diff) | |
download | gitea-1ceb56fc7f243fe0edada5a846f645ce8b99390e.tar.gz gitea-1ceb56fc7f243fe0edada5a846f645ce8b99390e.zip |
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.
-rw-r--r-- | .editorconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig index 0fb78d3dc0..8464c520e5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ trim_trailing_whitespace = true [*.go] indent_style = tab -indent_size = 4 +indent_size = 8 [*.tmpl] indent_style = tab |