Find a definition
nvim_goto_definitionFind where a symbol is defined in a file by specifying path, line, and column. Uses LSP to return the exact definition location.
Instructions
Find where the symbol at a position is defined, through the LSP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number, 1-based | |
| path | Yes | File path | |
| column | Yes | Column number, 1-based | |
| wait_ms | No | LSP timeout |