Define all/other dummy functions used in autocommands

This commit is contained in:
Daniel Hahler 2014-04-09 19:32:26 +02:00
parent 7da9dbe2af
commit 210304884a

View File

@ -8,11 +8,19 @@ endif
let did_UltiSnips_autoload=1 let did_UltiSnips_autoload=1
" Define dummy version of function called by autocommand setup in " Define dummy version of function called by autocommand setup in
" ftdetect/UltiSnips.vim. If the function isn't defined (probably due to " ftdetect/UltiSnips.vim and plugin/UltiSnips.vim.
" using a copy of vim without python support) it will cause an error anytime a " If the function isn't defined (probably due to using a copy of vim
" new file is opened. " without python support) it would cause an error.
function! UltiSnips#FileTypeChanged() function! UltiSnips#FileTypeChanged()
endfunction endfunction
function! UltiSnips#CursorMoved()
endfunction
function! UltiSnips#CursorMoved()
endfunction
function! UltiSnips#LeavingBuffer()
endfunction
function! UltiSnips#LeavingInsertMode()
endfunction
call UltiSnips#bootstrap#Bootstrap() call UltiSnips#bootstrap#Bootstrap()
if !exists("g:_uspy") if !exists("g:_uspy")