Skip to content

How to refresh the diagnose #348

Answered by ratmice
Decodetalkers asked this question in Q&A
Discussion options

You must be logged in to vote

From what i've observed, the next call to publish_diagnostics for the file should refresh them, if you have no diagnostics to send, just send an empty vector for the diags parameter, and it should then clear the existing diagnostics.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Decodetalkers
Comment options

Answer selected by Decodetalkers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants