diff --git a/vimrc b/vimrc index 83811b5..22280b8 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