mirror of
https://github.com/tiyn/nvim-docs-view.git
synced 2025-11-13 05:49:45 +01:00
7150b700c2d7a8eac10cdc8c7fcbba24c391b055
nvim-docs-view
A neovim plugin to display lsp hover documentation in a side panel.
Inspired by the VSCode extension Docs View.
Installation
Using packer.nvim
use {
"amrbashir/nvim-docs-view",
opt = true,
cmd = { "DocsViewToggle" },
config = function()
require("docs-view").setup {
position = "right",
width = vim.api.nvim_get_option("columns") / 3,
}
end
}
Using vim-plug
Plug 'amrbashir/nvim-docs-view', { 'on': 'DocsViewToggle'}
lua << EOF
require("docs-view").setup {
position = "right",
width = vim.api.nvim_get_option("columns") / 3,
}
EOF
Usage
Use :DocsViewToggle to open/close the docs view side panel
LICENSE
MIT License © 2021 Amr Bashir
Languages
Lua
100%