From e1d3306adc633b97b05a17390a868d3531b777ee Mon Sep 17 00:00:00 2001 From: cheater Date: Wed, 8 Feb 2012 08:59:41 +0100 Subject: [PATCH] You can now set the updatetime used by pythonhelper with g:pythonhelper_updatetime. --- plugin/pythonhelper.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugin/pythonhelper.vim b/plugin/pythonhelper.vim index bb795eb..99b2d59 100644 --- a/plugin/pythonhelper.vim +++ b/plugin/pythonhelper.vim @@ -715,7 +715,12 @@ autocmd CursorHoldI * call PHCursorHold() autocmd BufDelete * silent call PHBufferDelete() " period of no activity after which the CursorHold event is triggered -set updatetime=1000 +if (exists("g:pythonhelper_updatetime")) + let &updatetime = g:pythonhelper_updatetime +" otherwise just return an empty string +else + set updatetime=1000 +endif " }}}