incrementeal highlights incorrectly when using \C pattern
arecarn opened this issue · 3 comments
arecarn commented
Given the following situation:
g:oblique#incsearch_highlight_all
is setsmartcase
is setignorecase
is set
and the search pattern \Ctest
is typed using the following buffer
test
Test
Both "test" and "Test" will be highlighted as incremental searches ignoring the \C pattern to force case matching. This seems to only happen when the \C pattern is the first thing in the search pattern otherwise it seems to work.
junegunn commented
Thanks for the report. Could you update and test it? I fixed a few more issues regarding incsearch highlighting. (Though I haven't managed to add corresponding regression test cases yet)
arecarn commented
Thanks! I'll take a look at it soon.
arecarn commented
The fix seems to be working well.
Thanks