Set up YAML autocmd

This commit is contained in:
Anthony Rose 2019-10-02 22:12:06 +01:00
parent 5dc8c67a97
commit d9fd1bf53e

1
vimrc
View file

@ -117,6 +117,7 @@ if has("autocmd")
autocmd BufRead,BufNewFile *.md set ft=markdown sw=4 autocmd BufRead,BufNewFile *.md set ft=markdown sw=4
autocmd BufRead,BufNewFile *.opml set et sw=2 autocmd BufRead,BufNewFile *.opml set et sw=2
autocmd BufRead,BufNewFile *.xml set et sw=2 autocmd BufRead,BufNewFile *.xml set et sw=2
autocmd BufRead,BufNewFile *.yaml set et sw=2
autocmd BufRead,BufNewFile *.yml set et sw=2 autocmd BufRead,BufNewFile *.yml set et sw=2
endif endif