Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

LspNextError and LspPreviousError not working #173

Closed
phcerdan opened this issue Aug 22, 2018 · 4 comments
Closed

LspNextError and LspPreviousError not working #173

phcerdan opened this issue Aug 22, 2018 · 4 comments

Comments

@phcerdan
Copy link

LspNextError and LspPreviousError does not work for me, either with errors or with warnings.

I use :LspDocumentDiagnostics and then navigate with :cnext :cprevious or ]q [q if using vim-unimpaired

Related: #171

@phcerdan
Copy link
Author

It might be worth exploring to populate the quickfix list automatically, instead of using LspNextError.

@ezyang
Copy link

ezyang commented Mar 25, 2019

Yes, I'd also appreciate if Quickfix were populated automatically. And I also report LspNextError and co do not work.

@casr
Copy link

casr commented Nov 19, 2019

LspNextError and LspPreviousError does not work for me, either with errors or with warnings.

This appears to be working for me on the latest verion. @phcerdan Can you confirm?

It might be worth exploring to populate the quickfix list automatically

This might be confusing to do out of the box as the quickfix can be used for a number of things. What about adding this to your .vimrc?

autocmd CursorHold call lsp#ui#vim#diagnostics#document_diagnostics()

@prabirshrestha
Copy link
Owner

Please try the latest master. It should be working now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants