Expand description
Status line (diagnostics summary). Statusline drawing helpers with diagnostics aggregation.
Structsยง
- Diagnostic
- Diagnostic emitted by Nvim for statusline aggregation.
- Severity
Buckets ๐ - Fixed-size aggregation of counts per
DiagnosticSeverity. - Statusline ๐
- Represents the status line with buffer path and diagnostics.
Constantsยง
- CACHED_
BUFFER_ ๐PATH - Cached
(buffer_handle, relative_path)to avoid recomputing the buffer path on everyCursorMovedevent. Automatically invalidated when the active buffer handle changes (e.g. onBufEnter). - DRAW_
TRIGGERS ๐
Functionsยง
- dict
- [
Dictionary] exposing statusline draw helpers. - draw ๐
- Draws the status line with diagnostic information.
- write_
diagnostics ๐ - Writes the diagnostic count directly to the target string, avoiding intermediate allocation.