Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 880 Bytes

README.md

File metadata and controls

45 lines (33 loc) · 880 Bytes

nvim-docs-view

A neovim plugin to display lsp hover documentation in a side panel.

Inspired by the VSCode extension Docs View.

doc-view-example

Installation

Using packer.nvim

use {
  "amrbashir/nvim-docs-view",
  opt = true,
  cmd = { "DocsViewToggle" },
  config = function()
    require("docs-view").setup {
      position = "right",
      width = 60,
    }
  end
}

Using vim-plug

Plug 'amrbashir/nvim-docs-view', { 'on': 'DocsViewToggle'}

lua << EOF
  require("docs-view").setup {
    position = "right",
    width = 60,
  }
EOF

Usage

Use :DocsViewToggle to open/close the docs view side panel

LICENSE

MIT License.