folke / lsp-colors.nvim

🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client.
Apache License 2.0
437 stars 8 forks source link

Not doing anything #11

Open bellini666 opened 3 years ago

bellini666 commented 3 years ago

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.

Midren commented 3 years ago

Get a similar problem. Changing LspDiagnostisUnderlineError to DiagnosticUnderlineError helped me. I think they renamed it in some update

geraldspreer commented 2 years ago

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.

nathani-axis commented 2 years ago

looks like a lot of the LspDiagnostics... were renamed to be Diagnostics... instead

ebkalderon commented 2 years ago

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).