I discovered another issue with updating the cursorline, this time when opening a result from the quickfix window.
1. vim --clean
2. Source the attached script (it's short, review first)
3. :.cc | wincmd p
Notice that the cursorline highlighting is not updated.
The following patch fixes the problem by forcing quickfix navigation
functions to call redraw_later(SOME_VALID).
diff --git a/src/quickfix.c b/src/quickfix.c
index e292819f2..660152b40 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3354,6 +3354,7 @@ theend:
else
free_string_option(old_swb);
}
+ redraw_later(SOME_VALID);
}
// Highlight attributes used for displaying entries from the quickfix list.
As usual, there may be a much better solution, and review would be greatly
appreciated!
Thanks,
Jason Franklin
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
test.vim
Description: Binary data
