aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorsilverwind2020-08-24 00:48:40 +0200
committerGitHub2020-08-23 18:48:40 -0400
commit26bf4c51fb900b8a31cfb6d17095515c118a68a1 (patch)
tree08e4057d8aafc4429ba37ee9865d0f4848950a1f /.editorconfig
parent0c0f049d09dfcdaaf43029ff853a838c02efc79e (diff)
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>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 6059fa100..82542ea86 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,7 +11,7 @@ trim_trailing_whitespace = false
[*.{go,tmpl,html}]
indent_style = tab
-indent_size = 4
+indent_size = 2
[*.{less,css}]
indent_style = space