fix xml formatting autcmd from interfering with ts

autocmd filetype xml is apparently triggered by .ts (TypeScript) files
This commit is contained in:
Nick Nisi
2015-01-02 16:22:58 -06:00
parent 2c3b814926
commit fb06742cea

View File

@@ -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<cr>
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