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

Make it an option that highlight search (hlsearch) won't be overriden by error highlight #1256

Open
david0u0 opened this issue Jan 3, 2023 · 0 comments

Comments

@david0u0
Copy link

david0u0 commented Jan 3, 2023

Is your feature request related to a problem? Please describe.

As shown in the image, the highlight color of my search result my_inst (yellow) is overriden by the error highlight (red)
圖片

It would be great to let the user configure weather they want hlsearch or error to have higher priority

Describe the solution you'd like

Introduce a new variable, e.g. g:LanguageClient_HighlightPriority = ['hls', 'error'], so that user can configure the priority

Describe alternatives you've considered

Maybe the option to disable error highlight completely?

Thanks for reading :)

@david0u0 david0u0 changed the title Make it an option that highlight search (hlsearch) won't be overriden by error highlihgt Make it an option that highlight search (hlsearch) won't be overriden by error highlight Jan 3, 2023
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

1 participant