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

refactor: don't hardcode substitute highlight #1991

Merged
merged 2 commits into from
May 21, 2024

Conversation

theol0403
Copy link
Member

Edits #1983

  • editor.findMatchBackground: Color of the current search match.
  • editor.findMatchHighlightBackground: Color of the other search matches. The color must not be opaque so as not to hide underlying decorations.

I believe most themes will not have transparency for findMatchBackground

@theol0403
Copy link
Member Author

I take that back, I found a theme this doesn't work for.

@theol0403
Copy link
Member Author

Better to use inverted colors than hardcode colors, works with more themes/accessibility/light mode.

@xiyaowong
Copy link
Collaborator

Should be "refactor" ?? It fixes nothing.

@theol0403 theol0403 changed the title fix(highlight): don't hardcode substitute highlight refactor: don't hardcode substitute highlight May 21, 2024
@theol0403 theol0403 merged commit 1b6bb7b into vscode-neovim:master May 21, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants