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
" Define dummy version of function called by autocommand setup in
" ftdetect/UltiSnips.vim. If the function isn't defined (probably due to
" using a copy of vim without python support) it will cause an error anytime a
" new file is opened.
" ftdetect/UltiSnips.vim and plugin/UltiSnips.vim.
" If the function isn't defined (probably due to using a copy of vim
" without python support) it would cause an error.
function! UltiSnips#FileTypeChanged()
endfunction
function! UltiSnips#CursorMoved()
endfunction
function! UltiSnips#CursorMoved()
endfunction
function! UltiSnips#LeavingBuffer()
endfunction
function! UltiSnips#LeavingInsertMode()
endfunction
call UltiSnips#bootstrap#Bootstrap()
if !exists("g:_uspy")