Open vext01 opened 3 years ago
You can actually create your own command for this. This is what you could do:
command! CurrentLineDiagnostic lua require'jumpLoc'.openLineDiagnostics()
But it would be better to have it builtin in the plugin I guess, since the lua call is not really documented afaik.
That'd be good, yeah!
On Thu, 5 Nov 2020, 18:03 Benoit de Chezelles, notifications@github.com wrote:
You can actually create your own command for this. This is what you could do:
command! CurrentLineDiagnostic lua require'jumpLoc'.openLineDiagnostics()
But it would be better to have it builtin in the plugin I guess, since the lua call is not really documented afaik.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nvim-lua/diagnostic-nvim/issues/71#issuecomment-722544360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETWG35S7YZLJ4EQH4S3YLSOLSIZANCNFSM4TLOBZPA .
It might be good if the current line diagnostic was automatically displayed also.
Is there a way to show the diagnostic for the line under the cursor without using a "jump to next" or "jump to previous"?