lsp-colors.nvim icon indicating copy to clipboard operation
lsp-colors.nvim copied to clipboard

Not doing anything

Open bellini666 opened this issue 2 years ago • 4 comments

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.

bellini666 avatar Oct 31 '21 15:10 bellini666

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

Midren avatar Nov 10 '21 22:11 Midren

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.

geraldspreer avatar Nov 17 '21 07:11 geraldspreer

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

nathani-axis avatar Nov 23 '21 15:11 nathani-axis

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

ebkalderon avatar Oct 27 '22 09:10 ebkalderon