mirror of
https://github.com/gryf/pythonhelper.git
synced 2026-11-20 20:56:54 +01:00
You can now set the updatetime used by pythonhelper with g:pythonhelper_updatetime.
This commit is contained in:
1 parent
1e1d1cc6f1
commit
e1d3306adc
1 file changed
+6
-1
@@ -715,7 +715,12 @@ autocmd CursorHoldI * call PHCursorHold()
|
|||||||
autocmd BufDelete * silent call PHBufferDelete()
|
autocmd BufDelete * silent call PHBufferDelete()
|
||||||
|
|
||||||
" period of no activity after which the CursorHold event is triggered
|
" 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
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user