Keep tabs for go files
This commit is contained in:
parent
8181d4b4f6
commit
baed3af869
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue