Skip to content

JASONews/glow-hover.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages