LSP hover
nvim_lsp_hoverGet hover documentation for symbols at a position, returning LSP-provided signatures, types, and doc comments.
Instructions
Get hover documentation (signatures, types, docs) for the symbol at a position, as the editor's language server would show it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | 1-based column number. Default 1. | |
| line | No | 1-based line number. Default 1. | |
| path | No | Target buffer by file path (must already be open). Ignored if bufnr is set. | |
| bufnr | No | Target buffer number. Omit to use the path or the current buffer. |