This plugin has been archived, since it should be no longer needed. If any colorscheme stil l doesn't support the new diagnostics highlight groups for Neovim, then just post an issue or a PR to fix it there.
Automatically creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin lsp client.
Install the theme with your preferred package manager:
Plug 'folke/lsp-colors.nvim'
use 'folke/lsp-colors.nvim'
Nothing special. Just load a colorscheme
as usual 🙂
LSP Colors works out of the box, but you can set the default colors that will be used in case a theme doesn't have LSP nor Coc highlight groups.
-- Lua
require("lsp-colors").setup({
Error = "#db4b4b",
Warning = "#e0af68",
Information = "#0db9d7",
Hint = "#10B981"
})
undercurls
work properly in TmuxTo have undercurls show up and in color, add the following to your Tmux config file:
# Undercurl
set -g default-terminal "${TERM}"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0