Skip to main content

Module statusline

Module statusline 

Source
Expand description

Status line (diagnostics summary). Statusline drawing helpers with diagnostics aggregation.

Structsยง

Diagnostic
Diagnostic emitted by Nvim for statusline aggregation.
SeverityBuckets ๐Ÿ”’
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 every CursorMoved event. Automatically invalidated when the active buffer handle changes (e.g. on BufEnter).
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.