Skip to content

Commit 06eb9e6

Browse files
committed
Add g:pymode_updatetime.
1 parent b5aca68 commit 06eb9e6

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changelog
55
--------------------
66
* Dont raise an exception when Logger has no message handler (c) nixon
77
* Improve performance of white space removal (c) Dave Smith
8+
* Improve ropemode support (c) s0undt3ch
89

910
## 2012-09-07 0.6.9
1011
-------------------

ftplugin/python/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if pymode#Option('lint')
7171
endif
7272

7373
" DESC: Run queue
74-
setlocal updatetime=1000
74+
let &l:updatetime = g:pymode_updatetime
7575
au CursorHold <buffer> call pymode#queue#Poll()
7676
au BufLeave <buffer> py queue.stop_queue()
7777

plugin/pymode.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,4 +333,7 @@ call pymode#Default("g:pymode_utils_whitespaces", 1)
333333
" OPTION: g:pymode_options -- bool. To set some python options.
334334
call pymode#Default("g:pymode_options", 1)
335335

336+
" OPTION: g:pymode_updatetime -- int. Set updatetime for async pymode's operation
337+
call pymode#Default("g:pymode_updatetime", 1000)
338+
336339
" vim: fdm=marker:fdl=0

0 commit comments

Comments
 (0)