Combine autocmd lines

This commit is contained in:
Anthony Rose 2019-06-17 11:02:31 +01:00
parent 1798ee4343
commit b724a2ee36

7
vimrc
View file

@ -107,12 +107,9 @@ endif
" Settings based on feature detection.
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 *.go set noexpandtab shiftwidth=8 tabstop=8
autocmd BufRead,BufNewFile *.html set shiftwidth=2
autocmd BufRead,BufNewFile *.md set filetype=markdown
autocmd BufRead,BufNewFile *.md set tabstop=4
autocmd BufRead,BufNewFile *.md set filetype=markdown tabstop=4
autocmd BufRead,BufNewFile *.opml set shiftwidth=2
autocmd BufRead,BufNewFile *.org set shiftwidth=2
autocmd BufRead,BufNewFile *.xml set shiftwidth=2