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

Better highlight on hilighted search in visual mode? #9

Open
tmpm697 opened this issue May 8, 2023 · 5 comments
Open

Better highlight on hilighted search in visual mode? #9

tmpm697 opened this issue May 8, 2023 · 5 comments

Comments

@tmpm697
Copy link

tmpm697 commented May 8, 2023

highlighted statement (the 2nd one) in selecting block give it color that hard to see, as below image:
screenshot-latest

@shaeinst
Copy link
Member

shaeinst commented May 8, 2023

i just tried it by changing to different colors. it's very hard to find the good color for search highlight based on current theme.

@tmpm697
Copy link
Author

tmpm697 commented May 8, 2023

why don't just keep color like the 1st one? you don't need to change it at all. i don't see the case for changing it.

@shaeinst
Copy link
Member

shaeinst commented May 8, 2023

when you're in visual mode and cursor is in highlighted text, text's foreground colors adopts the search highlight's foreground color. in this case, background is orange and foreground color is black. that's why you're seeing black color in your screenshot.

@tmpm697
Copy link
Author

tmpm697 commented May 9, 2023

so, there's must be a highlighted_candidate_in_visual_mode to fix this. does nvim/vim expose this kind of highlight?

@shaeinst
Copy link
Member

shaeinst commented May 9, 2023

"It has been a long time since I looked at Neovim's highlight documentation. I have been busy these days, but I will look it up when I have free time."

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