From 210304884ade8da3b5fb2f293b99caa185470857 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 9 Apr 2014 19:32:26 +0200 Subject: [PATCH] Define all/other dummy functions used in autocommands --- autoload/UltiSnips.vim | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/autoload/UltiSnips.vim b/autoload/UltiSnips.vim index 4f1a381..5f18569 100644 --- a/autoload/UltiSnips.vim +++ b/autoload/UltiSnips.vim @@ -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")