osyo-manga / vim-over

:substitute preview
576 stars 18 forks source link

All text is highlighted when starting a substitute with very magic when hlsearch and incsearch are active #64

Open blayz3r opened 6 years ago

blayz3r commented 6 years ago

2018-08-23_22-39-32

Similar to https://github.com/vim/vim/issues/3363

osyo-manga commented 5 years ago

hi, Thanks for issues. All text match by /\v ?

blayz3r commented 5 years ago

hi, Thanks for issues. All text match by /\v ?

Yes, /\v matches everything instead of nothing

blayz3r commented 5 years ago

BUMP

osyo-manga commented 5 years ago

Sorry for my late reply. This is because all text is highlighted with :call matchadd("IncSearch", '\v'). I think this is a Vim specification (or bug).