First word on the line is highlighted even if not under the cursor
jordelver opened this issue · 5 comments
jordelver commented
qstrahl commented
This is because matchmaker's default needle
function uses <cword>
, defined by Vim as "the word under the cursor". <cword>
matches the word after the cursor if there is none directly under it; for the sake of consistency, this is the expected behaviour for Matchmaker.
jordelver commented
Ok, cool. Could we make this configurable somehow? Is it possible?
qstrahl commented
It's possible, but unwelcome; I'd rather be consistent with Vim. Other "wordwise" operations like *
and #
also exhibit this behaviour.
jordelver commented
Ok, I can appreciate that. Thanks for the plugin 👍
qstrahl commented
Thanks for the help!