diff --git a/vimrc b/vimrc index 3415d9b..2d0793c 100644 --- a/vimrc +++ b/vimrc @@ -100,6 +100,7 @@ endif " Settings based on feature detection. if has("autocmd") + autocmd BufRead,BufNewFile *.html set shiftwidth=2 autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufRead,BufNewFile *.md set shiftwidth=2 autocmd BufRead,BufNewFile *.xml set shiftwidth=2