Define UltiSnips#FileTypeChanged always

This is called via ftdetect/UltiSnips.vim, and needs to be defined
also if UltiSnips fails to initialize, e.g. because of missing Python
support.
This commit is contained in:
Daniel Hahler 2015-08-10 22:46:05 +02:00
parent 29ad00ec0f
commit 5e2f58c35f

View File

@ -1,5 +1,9 @@
if exists("b:did_autoload_ultisnips") || !exists("g:_uspy")
finish
" Define no-op function, called via ftdetect/UltiSnips.vim.
function! UltiSnips#FileTypeChanged()
endfunction
finish
endif
let b:did_autoload_ultisnips = 1