From beeae6f8dffa77609b0e838a21de75df9b2f351e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 10 Aug 2012 09:58:43 +0200 Subject: vim plugin: refresh the threads list also on CursorHold event. --- vim/plugin/nm_vim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/plugin/nm_vim.py b/vim/plugin/nm_vim.py index 582ccae..2d62035 100644 --- a/vim/plugin/nm_vim.py +++ b/vim/plugin/nm_vim.py @@ -163,6 +163,7 @@ class Search(NMBuffer): vim.command('augroup nm_vimpy') vim.command('autocmd CursorMoved python nm_vim.get_current_buffer().process_results()') + vim.command('autocmd CursorHold python nm_vim.get_current_buffer().process_results()') vim.command('augroup END') self._search_thread = threading.Thread(target = self._refresh_thread) -- cgit v1.2.3