Skip to content

Conversation

des-b
Copy link
Collaborator

@des-b des-b commented Nov 10, 2024

This ensures that LSP diagnostics of files which are not manually opened by users are rendered by nvim-tree diagnostic indicators.

However when users attach an LSP to nvim-tree this will bring back flashing as attempted to fix in #2980. Fixing this should probably done by checking data passed via diagnostic events (DiagnosticChanged and CocDiagnosticChanged).

This ensures that LSP diagnostics of files which are not manually opened
by users are rendered by nvim-tree diagnostic indicators.

However when users attach an LSP to nvim-tree this will bring back
flashing as attempted to fix in #2980. Fixing this should probably done
by checking data passed via diagnostic events (DiagnosticChanged and
CocDiagnosticChanged).

Signed-off-by: des-b <[email protected]>
Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely, thanks for the fix @des-b

The whole view business will be resolved / rewritten during https://github.com/orgs/nvim-tree/projects/1

If you have any spare time your assistance would be gratefully appreciated!

@alex-courtis alex-courtis merged commit 28eac28 into master Nov 10, 2024
5 checks passed
@alex-courtis alex-courtis deleted the 2990-remove-lsp-diagnostics-regression-introduced-by-2980 branch November 10, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants