-
Notifications
You must be signed in to change notification settings - Fork 177
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
automatically updates on new diagnostics doesn't work #122
Comments
Most likely related to neovim/neovim#14090 (comment). |
Actually changing the code in plugin/trouble.vim au User LspDiagnosticsChanged lua require'trouble'.refresh({auto = true, provider = "diagnostics"}) to the following (based on the described change in neovim/neovim#14090) au DiagnosticChanged * lua require'trouble'.refresh({auto = true, provider = "diagnostics"}) looks like fixes the issue, making diagnostics autoupdate working as before. But I'm not too sure about a PR since I don't know much about lua and vimscript, and whether other files needs checking too (But if someone might interested in pull request, hope this become a good start) |
It's not as easy as just changing the aucommand, it would break for 0.5.x users. Checking for 0.6.0 version needs to be added. |
Use the new DiagnosticChanged event on neovim 0.6. closes: folke#122
Took a crack at fixing it in PR #127 |
Use the new DiagnosticChanged event on neovim 0.6. closes: #122
Problem:
LSP
errors andTrouble
set.auto_close
andauto_open
.lsb_release -a:
Neovim version:
:checkhealth
2021-11-28.17-56-15.mp4
The text was updated successfully, but these errors were encountered: