Skip to content

Error line in mini.statusline #1493

Closed Answered by echasnovski
TeoMatosevic asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome!

As i understand it right now "E4" means there are 4 errors, ...

Correct, here is the description.

... but on top of that I would like to know if I can see the actual lines.

It is possible in theory, but I wouldn't recommend having that. Statusline content is meant to be quickly executed and making that information available quickly is not entirely straightforward (requires caching data inside a dedicated DiagnosticChanged event and then going through the process of customizing whole statusline content).

What I would recommend is to use a dedicated mapping that navigates to the first error (or any diagnostic in general) in the current buffer. You can do that with 'mini.bracket…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TeoMatosevic
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.statusline mini.bracketed
2 participants