get_all_diagnostics
Retrieve LSP diagnostics from all open Neovim buffers for a project-wide overview of errors and warnings. Returns file, line, column, severity, message, and source for each diagnostic.
Instructions
Get LSP diagnostics from all open buffers in Neovim. Read-only.
Use this for a project-wide overview of errors and warnings. Use
get_buf_diagnostics instead when you only need diagnostics for a
specific file — it is more focused and returns less data.
Returns a list of {file, line, col, severity, message, source}. severity is one of "error", "warning", "info", "hint". Returns an empty list when there are no diagnostics. Results depend on which LSP servers are attached and which buffers are loaded in Neovim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||