浏览代码

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.
Tyndie 8 年之前
父节点
当前提交
20ac8bf83e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .editorconfig

+ 1 - 1
.editorconfig

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