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

CocList grep doesn't highlight word in preview #2039

Closed
ravisumit33 opened this issue Jun 7, 2020 · 6 comments
Closed

CocList grep doesn't highlight word in preview #2039

ravisumit33 opened this issue Jun 7, 2020 · 6 comments

Comments

@ravisumit33
Copy link

As the heading suggest, in preview window grepped word is not highlighted. Other methods, such as CocList words properly highlight. Is this a bug or expected behaviour?

@fannheyward
Copy link
Member

:CocList grep coc does highlighting.

@ravisumit33
Copy link
Author

ravisumit33 commented Jun 8, 2020

I was talking about highlighting in preview window not in list window. I still can't words getting highlighted when I do :CocList grep.
:CocList words is fine

Screenshot 2020-06-08 at 12 59 26 PM

In above screenshot you can see "defaultConfig" is searched word. It is highlighted everywhere in list window but it is not highlighted in preview window.

I am using Neovim on Mac with mostly COC extensions.

@ravisumit33
Copy link
Author

Apart from the preview window, list window also shows different behaviours.

If i use any colorscheme(i am using gruvbox but tried several others also) list window is also not getting highlighted.

Screenshot 2020-06-08 at 4 37 31 PM

But if i use any default neovim colorschemes (e.g. desert) list window is nicely highlighted.

Screenshot 2020-06-08 at 4 38 02 PM

@chemzqm
Copy link
Member

chemzqm commented Jun 9, 2020

No such support, don't have time to, consider help by send PR if you need it.

@chemzqm chemzqm closed this as completed Jun 9, 2020
@ravisumit33
Copy link
Author

What about highlighting in preview window during CocList grep ? It should be there as other searches like CocList words have it.

@chemzqm
Copy link
Member

chemzqm commented Jun 9, 2020

It's much more complicated for grep, I don't have time for it.

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

3 participants