Closed lucas-mior closed 4 months ago
Are you looking for the :LspDiagNext
command? The following commands are available to browse the diagnostics:
LspDiag first - Jump to the first diagnostic in the list
LspDiag last - Jump to the last diagnostic in the list
LspDiag next - Jump to the next diagnostic in the list
LspDiag prev - Jump to the previous diagnostic in the list
Are you looking for a command that wraps around the diagnostics, so it goes from the last diagnostic to the first diagnostic?
Are you looking for a command that wraps around the diagnostics, so it goes from the last diagnostic to the first diagnostic?
Exactly.
This is how I prefer to navigate diagnostics too, so I've made PR #482 which adds this functionality, with :LspDiag nextWrap
and :LspDiag prevWrap
commands.
Hello, I would like to be able to find the next diagnostic after the last (like when vim continues search from top of the file). Can it be done?