diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 88e8a37..d5e76d4 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -54,6 +54,7 @@ if has('autocmd') && !exists('autocommands_loaded') autocmd FileType jade setlocal ts=2 sts=2 sw=2 noexpandtab autocmd FileType *.md.js :call SyntasticReset autocmd FileType markdown,textile setlocal textwidth=0 wrapmargin=0 wrap spell + autocmd FileType xml exe ":silent %!xmllint --format --recover - 2>/dev/null" "autocmd WinEnter * setlocal cursorline "autocmd WinLeave * setlocal nocursorline