From 4fa7bb9f5ca92d189a007ca8691badac9b3ab6d9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 22 Nov 2017 13:57:01 +0000 Subject: [PATCH] Use 8-space-width tabs for go files --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index f0a640a..d87a2f0 100644 --- a/vimrc +++ b/vimrc @@ -101,6 +101,8 @@ endif if has("autocmd") autocmd BufRead,BufNewFile *.go set noexpandtab + autocmd BufRead,BufNewFile *.go set shiftwidth=8 + autocmd BufRead,BufNewFile *.go set tabstop=8 autocmd BufRead,BufNewFile *.html set shiftwidth=2 autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufRead,BufNewFile *.md set shiftwidth=2