rin-yato / glow-hover

A Neovim plugin leveraging glow for LSPs hover responses.

Repository from Github https://github.comrin-yato/glow-hoverRepository from Github https://github.comrin-yato/glow-hover

glow-hover.nvim

Leverage glow to display LSP hover responses.

Demo

demo1

demo2

Install

This plugin relies on glow. Make sure you have installed it.

Plug 'JASONews/glow-hover'

Setup

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

Limitation

This plugin only supports Neovim on Linux or MacOS.

Acknowledgement

This plugin is inspired by glow.nvim and neovim.lsp.util. Parts of code are copied from Neovim.lsp.util.

About

A Neovim plugin leveraging glow for LSPs hover responses.

License:Apache License 2.0


Languages

Language:Lua 100.0%