Set .go tab size to 4 in .editorconfig (#8099)

Tab size was added as 2 in .editorconfig but a tab size of 4 is used
throughout go code base.

This can cause editors such as vscode to automatically reformat open .go
files to tab size 2 from 4.
This commit is contained in:
Tyndie 2017-04-12 09:59:50 +01:00 committed by Torkel Ödegaard
parent 8eb112d119
commit 20ac8bf83e

View File

@ -3,7 +3,7 @@ root = true
[*.go] [*.go]
indent_style = tab indent_style = tab
indent_size = 2 indent_size = 4
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true