Merge pull request #323 from opennota/master

Check for existing of FT function before calling it.
This commit is contained in:
Holger Rapp 2014-06-21 11:47:48 +02:00
commit 7d65e21415

View File

@ -3,6 +3,6 @@
if has("autocmd")
augroup UltiSnipsFileType
au!
autocmd FileType * call UltiSnips#FileTypeChanged()
autocmd FileType * if exists('*UltiSnips#FileTypeChanged')|call UltiSnips#FileTypeChanged()|endif
augroup END
endif