summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Loibl <mail@matthiasloibl.com>2016-11-08 11:41:02 +0100
committerMatthias Loibl <mail@matthiasloibl.com>2016-11-08 11:41:02 +0100
commit1ceb56fc7f243fe0edada5a846f645ce8b99390e (patch)
tree4d49faa0bdcdd289f617f7e50105dbc424db08ed
parent85b8b7f4e1e242831751d8559745e4076d59b847 (diff)
downloadgitea-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--.editorconfig2
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