Get LSP diagnostics
nvim_diagnosticsRetrieve LSP errors and warnings for a file or all open buffers, enabling quick verification after code edits.
Instructions
Get LSP errors and warnings for one file, or for every open buffer when path is omitted. Use this to check work after an edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path; omit for all open buffers | |
| wait_ms | No | Settle time | |
| severity | No | Lowest severity to report, default hint |