lsp-colors.nvim
lsp-colors.nvim copied to clipboard
Not doing anything
Hi,
I'm trying to use this with https://github.com/metalelf0/jellybeans-nvim
I have:
use({
"folke/lsp-colors.nvim",
config = function()
require("lsp-colors").setup({
Error = "#902020",
Warning = "#cf6a4c",
Information = "#ffb964",
Hint = "#668799",
})
end,
})
But it doesn't get applied to my colorscheme, even if I manually do :lua require("lsp-colors").fix()
Tried to run :verbose hi LspDiagnostisUnderlineError
and it says that that highlight group is not defined.
Btw, I'm running neovim from source, latest commit as of today.
Get a similar problem. Changing LspDiagnostisUnderlineError
to DiagnosticUnderlineError
helped me. I think they renamed it in some update
Try set termguicolors
. If that makes it work, it means that your colorscheme only uses the ctermfg
and ctermbg
colors. It is the same for me with base-16
.
If your colorscheme does not use the GUI colors, you would need to set the styles manually like @Midren said.
looks like a lot of the LspDiagnostics... were renamed to be Diagnostics... instead
It also seems that as of https://github.com/neovim/neovim/pull/15894, Neovim now defines all the relevant Diagnostic.*
highlight categories by default, making this plugin no longer functional (since it assumes the highlight categories don't exist).