Closed
Description
I'm using Neovim + Coc.nvim + HLS.
Suppose I have a function with a bunch of errors:
Now I fix one of those errors. But the error doesn't disappear yet.
Curiously, a new error has appeared. Looks like HLS misplaces the text I just inserted earlier into the next line.
gGetState
is juxtaposed onto doVarDeclare "foo" TypeInt
. There wasn't an error in this line before.
Reloading the file using :e
in neovim fixes the misplaced errors. So does :CocRestart
.
Anecdotally, this has happened before in HLS + VSCode.