Leverage glow to display LSP hover responses.
This plugin relies on glow. Make sure you have installed it.
Plug 'JASONews/glow-hover'
lua << EOF
require'glow-hover'.setup {
-- The followings are the default values
max_width = 50,
padding = 10,
border = 'shadow',
glow_path = 'glow'
}
EOF
To update border highlight colors:
highlight! HoverFloatBorder ctermbg=None ctermfg=255
This plugin only supports Neovim on Linux or MacOS.
This plugin is inspired by glow.nvim and neovim.lsp.util. Parts of code are copied from Neovim.lsp.util.