quick-scope icon indicating copy to clipboard operation
quick-scope copied to clipboard

Highlighting is triggered on autocompletion

Open vitreo12 opened this issue 2 years ago • 3 comments

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?

vitreo12 avatar Nov 22 '21 11:11 vitreo12

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).

bradford-smith94 avatar Dec 06 '21 22:12 bradford-smith94

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

vitreo12 avatar Dec 07 '21 09:12 vitreo12

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?

bradford-smith94 avatar Dec 07 '21 22:12 bradford-smith94