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

BR: Red background on cmp docs window #13

Open
marcelarie opened this issue May 7, 2022 · 2 comments
Open

BR: Red background on cmp docs window #13

marcelarie opened this issue May 7, 2022 · 2 comments

Comments

@marcelarie
Copy link
Contributor

This happens in snippet previews too.

Example:
Screenshot 2022-05-07 at 19 14 36

@marcelarie marcelarie changed the title BR: Red background on completion docs window BR: Red background on cmp docs window May 8, 2022
@mrjones2014
Copy link
Owner

Can you provide a minimal config to reproduce or tell me the highlight groups used?

@marcelarie
Copy link
Contributor Author

hey I totally forgot about this.

this is the minimal config:

require("lighthaus").setup {
	bg_dark = true,
	lsp_underline_style = "undercurl",
}

I think this is not a treesitter related issue, it happens with some documentation on nvim-cmp, here a example:

nightfox.nvim:
Screenshot 2023-01-07 at 20 46 15
lighthaus.nvim:
Screenshot 2023-01-07 at 20 42 25

you can see how at the end of the require snippet, the last ) is red in both cases, but lighthaus.nvim shows the whole background as red instead of the foreground.

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