Outline a file
nvim_document_symbolsList a file's symbol outline—classes, functions, fields with line numbers—to understand its structure without reading the whole source.
Instructions
List the symbol outline of a file: classes, functions and fields with their line numbers. Cheaper than reading the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| wait_ms | No | LSP timeout |