Keep tabs for go files

This commit is contained in:
Anthony Rose 2017-11-22 12:56:40 +00:00
parent 8181d4b4f6
commit baed3af869

1
vimrc
View file

@ -100,6 +100,7 @@ endif
" Settings based on feature detection. " Settings based on feature detection.
if has("autocmd") if has("autocmd")
autocmd BufRead,BufNewFile *.go set noexpandtab
autocmd BufRead,BufNewFile *.html set shiftwidth=2 autocmd BufRead,BufNewFile *.html set shiftwidth=2
autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufRead,BufNewFile *.md set filetype=markdown
autocmd BufRead,BufNewFile *.md set shiftwidth=2 autocmd BufRead,BufNewFile *.md set shiftwidth=2