Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting is triggered on autocompletion #77

Open
vitreo12 opened this issue Nov 22, 2021 · 3 comments
Open

Highlighting is triggered on autocompletion #77

vitreo12 opened this issue Nov 22, 2021 · 3 comments

Comments

@vitreo12
Copy link

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 vitreo12 changed the title Highlighting is triggered on autocompletion menu Highlighting is triggered on autocompletion Nov 22, 2021
@bradford-smith94
Copy link
Collaborator

bradford-smith94 commented Dec 6, 2021

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
Copy link
Author

vitreo12 commented Dec 7, 2021

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

@bradford-smith94
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants