From fb06742cea491466fc53bb7accc7e6b88ffdbda2 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 2 Jan 2015 16:22:58 -0600 Subject: [PATCH] fix xml formatting autcmd from interfering with ts autocmd filetype xml is apparently triggered by .ts (TypeScript) files --- vim/vimrc.symlink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index d5e76d4..c50df5e 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -54,7 +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 FileType .xml exe ":silent %!xmllint --format --recover - 2>/dev/null" "autocmd WinEnter * setlocal cursorline "autocmd WinLeave * setlocal nocursorline