Merge pull request #323 from opennota/master
Check for existing of FT function before calling it.
This commit is contained in:
commit
7d65e21415
@ -3,6 +3,6 @@
|
|||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
augroup UltiSnipsFileType
|
augroup UltiSnipsFileType
|
||||||
au!
|
au!
|
||||||
autocmd FileType * call UltiSnips#FileTypeChanged()
|
autocmd FileType * if exists('*UltiSnips#FileTypeChanged')|call UltiSnips#FileTypeChanged()|endif
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user