unblevable / quick-scope

Lightning fast left-right movement in Vim
MIT License
1.42k stars 54 forks source link

Highlighting is triggered on autocompletion #77

Open vitreo12 opened 2 years ago

vitreo12 commented 2 years ago

Hello!

I have noticed that lately the quickscope highlighting gets triggered when an autocompletion menu pops up:

image

I'm pretty sure this wasn't the case some month ago. Is there a way to only ever highlight letters in normal / visual modes?

bradford-smith94 commented 2 years ago

The plugin is already only mapping in modes n/o/x (Normal, Operator-pending, Visual).

I tried to repeat this using my config and did not see this behavior. Did you trigger autocomplete yourself (if so what command did you use) or did you use a plugin?

If you don't have (or somehow lost) the setting: let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] in your config then the "vanilla" highlight mode is to highlight the current line after a sort while of not moving the cursor (which I think could cause what you see in the screenshot).

vitreo12 commented 2 years ago

I'm using coc for autocompletion, could that cause the issue?

bradford-smith94 commented 2 years ago

I'm not sure, I suppose it could cause the issue, but I'm not sure if it's likely. If you trigger autocomplete manually (using something like <C-x><C-n> in insert mode) do you still see this behavior?