Browse Source

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>
for-closed-social
silverwind 4 years ago
committed by GitHub
parent
commit
26bf4c51fb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .editorconfig

+ 1
- 1
.editorconfig View File

@ -11,7 +11,7 @@ trim_trailing_whitespace = false
[*.{go,tmpl,html}] [*.{go,tmpl,html}]
indent_style = tab indent_style = tab
indent_size = 4
indent_size = 2
[*.{less,css}] [*.{less,css}]
indent_style = space indent_style = space

Loading…
Cancel
Save