Don't highlight when there are no other matches
Closed this issue · 2 comments
xanderdunn commented
Many thanks for this great plugin! It does for me what most GUI IDEs do, and it doesn't even interfere with vim's search highlighting.
It would be nice if there were an option to disable highlighting when there are no matches to the word under the cursor. It seems unnecessary to highlight the word under the cursor if there is nothing else to highlight.
Thanks!
qstrahl commented
Good idea! I'll look into that
qstrahl commented
Hey @xanderdunn! This is now possible as of a0b27f3 - all you have to do is add let g:matchmaker_ignore_single_match = 1
to your vimrc