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

Synatx highlighting is messed up #49

Closed
Kranzes opened this issue Jan 1, 2023 · 1 comment
Closed

Synatx highlighting is messed up #49

Kranzes opened this issue Jan 1, 2023 · 1 comment
Labels
A-vim Area: Vim/Neovim C-support Catagory: support questions

Comments

@Kranzes
Copy link

Kranzes commented Jan 1, 2023

When enabling the nil with lspconfig on neovim the syntax highlighting looks like this now:
image

When they should and used to look like this:
image

I believe something got messed up in the past month or so. This also only happens with neovim nightly, with stable it looks fine. I tried changing nil to rnix-lsp and the colors seem fine.

@oxalica
Copy link
Owner

oxalica commented Jan 1, 2023

You could see that all attributes are grey, all variables are white, so it's probably switching to another colorscheme rather than "messed up".
I guess it's because neovim recently added semantic highlighting in neovim/neovim#21100. The default colors of semantic highlightings are defined in here and you (or your colorscheme plugin) may want to customize them.

@oxalica oxalica added C-support Catagory: support questions A-vim Area: Vim/Neovim labels Jan 1, 2023
@oxalica oxalica closed this as completed Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vim Area: Vim/Neovim C-support Catagory: support questions
Projects
None yet
Development

No branches or pull requests

2 participants