errata-ai / vale-ls

:zap: An implementation of the Language Server Protocol (LSP) for the Vale command-line tool.
MIT License
63 stars 4 forks source link

Bug: LSP does not update correctly #8

Open chrisgrieser opened 9 months ago

chrisgrieser commented 9 months ago

In some cases, the diagnostics are updated correctly (move the line up/down), in other cases like deleting the line, the diagnostics stays there even though it is already obsolete.

https://github.com/errata-ai/vale-ls/assets/73286100/d5fc7a03-5b25-4adf-8f97-5a38275df78a


edit: this also occurs when adding an ignore comment: <!-- vale Google.FirstPerson = NO -->

graelo commented 4 months ago

I observe similar behavior.