Update signs when the cursor is held.
authorIain Patterson <me@iain.cx>
Tue, 28 Jan 2014 18:18:36 +0000 (18:18 +0000)
committerIain Patterson <me@iain.cx>
Mon, 3 Feb 2014 14:09:55 +0000 (14:09 +0000)
Signs can be "out of date" if the cursor is held in editing mode.

.vimrc

diff --git a/.vimrc b/.vimrc
index b15c78f..426e394 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1256,6 +1256,7 @@ if has("autocmd")
   endif
 
   if has("signs")
+    au Signs CursorHoldI * call <SID>Highlight_Signs()
     au Signs InsertEnter * call <SID>Highlight_Signs()
     au Signs InsertLeave * call <SID>Highlight_Signs()
   endif