-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
diagnostics: support sending ALE output to Neovim's diagnostics API #4345
Conversation
cebff1b
to
bfb14ea
Compare
If you can address the remaining TODO items here, I'll merge this one. I'm not working on it myself because I'm not a regular NeoVim user. (I'm waiting until NeoVim is named 1.0 and has some promises to not change default configuration for some time.) |
I've been running with it for a while now and it works AFAICT. However, I still need to investigate these items to see if they're a problem yet. Not sure when I'll get time for that though.
FWIW, I've only needed to set two things (that I should have been setting anyways) when migrating. That's other than the massive |
Neovim 1.0 could be years away. 0.5 --> 0.6 had major LSP API changes, basically a new module With respect to ALE, I am very confident that the APIs provided by Neovim that ALE would need to use to satisfy the PR are stable now and are very unlikely to change. Best regards. |
That's good. I was speaking about my personal editor of choice. I'll be using Vim until Neovim hits 1.0. |
I and @Angelchev are fixing this now. |
@hsanson I'm going to disable ALE signs when sending messages to Neovim diagnostics is enabled, as there are ways of getting signs to appear for Neovim diagnostics. We can look into that later. |
…ense-analysis#4345) Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API. :help g:ale_use_neovim_diagnostics_api Co-authored-by: David Balatero <dbalatero@users.noreply.github.com> Co-authored-by: Georgi Angelchev <angelchev@live.co.uk> Co-authored-by: w0rp <devw0rp@gmail.com>
Closes #4005
This resurrects #4135. I'll roll with it locally to test it out more (especially to see if that off-by-one is actually fixed or not). Other than test suite bits, the review comments from there have been addressed.
Pulling the TODO item from the original PR description:
No tests yet (beyond updating the existing config one for the new option).