Skip to content

hesom/multihover.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

multihover.nvim

Neovim plugin that combines multiple LSP hover sources (and optionally diagnostics) in a single hover popup, similar to vscode.

The code is heavily based the discussion in this issue, but is standalone doesn't require hover.nvim.

Setup

via lazy.nvim (showing defaults):

{
  'hesom/multihover.nvim',
  config = function()
    require("multihover").setup({
      include_diagnostics = true,
      show_titles = false,
      popup_config = {
        focusable = true,
        focus_id = "textDocument/hover",
      },
    }),
    vim.lsp.buf.hover = require("multihover").hover
  end
}

If you don't want to overwrite the default vim.lsp.buf.hover function you can just replace that line with a keybind of your choice that calls require("multihover").hover.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages