-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Location List Doesn't Close After All Errors Have Been Addressed #2460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's supposed to do what you describe. Let me know which linters you were using, as the |
@w0rp I updated the gist |
I am experiencing the same issue ** UPDATE **
:ALEInfo Relevant .vimrc config |
This was probably caused by #2415. |
Thanks for creating this plugin w0rp, Ale is srsly amazing. When
Ill try to debug it a bit more and see if I can figure out a root cause. |
I have fixed this now. The problem was specific to only Language Server Protocol. The problem is that it's impossible to tell if a language server will respond to a file changing or being saved with diagnostics, so ALE can't keep track of if results are pending from language servers, as they may never arrive. ALE does this reliably for I have created an issue for the protocol here. microsoft/language-server-protocol#737 I think the protocol should be updated to support a mode which means that diagnostics are only sent to clients that explicitly request them, for a number of reasons. |
@w0rp I just tested and it's working great now. Thank you! |
Information
VIM version
Operating System: macOS 10.14
What went wrong
I have an error in my file, which shows up in the quickfix list. I fix the error in my file. ALE does not auto-close the location list once the error has been corrected.
Additionally if I have an error, then close the location list, ALE opens the location list again, shows the error, runs the checks, then leaves me with an empty location list.
a) The location list should not reopen until ALE is sure that there are errors remaining in the file after the checks run.
b) We need a way to auto-close the location list if there are no more errors after checks. The
QuitPre
autocommand only works if you're closing the buffer, which I am not.Reproducing the bug
See above
:ALEInfo
https://gist.github.com/jfelchner/77a37bde7fdff2275f1c5bf7252b30e8
The text was updated successfully, but these errors were encountered: