mirror of
https://github.com/gryf/pythonhelper.git
synced 2025-12-18 12:00:27 +01:00
You can now set the updatetime used by pythonhelper with g:pythonhelper_updatetime.
This commit is contained in:
@@ -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