Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Show diagnostics for the line under the cursor. #71

Open
vext01 opened this issue Nov 5, 2020 · 3 comments
Open

Show diagnostics for the line under the cursor. #71

vext01 opened this issue Nov 5, 2020 · 3 comments

Comments

@vext01
Copy link

vext01 commented Nov 5, 2020

Is there a way to show the diagnostic for the line under the cursor without using a "jump to next" or "jump to previous"?

@bew
Copy link

bew commented Nov 5, 2020

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.

@vext01
Copy link
Author

vext01 commented Nov 5, 2020 via email

@vext01
Copy link
Author

vext01 commented Nov 6, 2020

It might be good if the current line diagnostic was automatically displayed also.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants