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

Parenthesis not visible in comments when matching brackets are highlighted #230

Open
ZenithFlux opened this issue Sep 20, 2024 · 2 comments

Comments

@ZenithFlux
Copy link

ZenithFlux commented Sep 20, 2024

With onedark:
Screenshot from 2024-09-20 11-56-50
Without onedark:
Screenshot from 2024-09-20 11-58-58

This is happening because the color of the comments is the same as the matching parenthesis highlight color. This makes using brackets a little difficult in the comments.

@ZenithFlux
Copy link
Author

Possible solution:
Set the 'MatchParen' highlight group's guibg to a lighter shade.

:h hl-MatchParen

@deanqx
Copy link

deanqx commented Oct 26, 2024

You could change the colors to fix it. This is my config:

require('onedark').setup {
    style = 'dark',
    colors = {
        grey = '#868686', -- Comments
        light_grey = '#a3abbf',
        bg3 = '#1e1e2e'   -- Selection
    }
}
require('onedark').load()

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