Combine autocmd lines
This commit is contained in:
parent
1798ee4343
commit
b724a2ee36
1 changed files with 2 additions and 5 deletions
7
vimrc
7
vimrc
|
@ -107,12 +107,9 @@ 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 *.go set noexpandtab shiftwidth=8 tabstop=8
|
||||||
autocmd BufRead,BufNewFile *.go set shiftwidth=8
|
|
||||||
autocmd BufRead,BufNewFile *.go set tabstop=8
|
|
||||||
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 tabstop=4
|
||||||
autocmd BufRead,BufNewFile *.md set tabstop=4
|
|
||||||
autocmd BufRead,BufNewFile *.opml set shiftwidth=2
|
autocmd BufRead,BufNewFile *.opml set shiftwidth=2
|
||||||
autocmd BufRead,BufNewFile *.org set shiftwidth=2
|
autocmd BufRead,BufNewFile *.org set shiftwidth=2
|
||||||
autocmd BufRead,BufNewFile *.xml set shiftwidth=2
|
autocmd BufRead,BufNewFile *.xml set shiftwidth=2
|
||||||
|
|
Loading…
Reference in a new issue