I’ve been glad to early.
The language server (v 1.63.0-next-e18a3cd.0) doesn’t refresh errors in my code.
When I have an error (neovim shows the error correctly) and I fix it, it still shows me the error (s screenshot).
I have to restart the server or neovim to update the state.
Maybe someone with VSCode or some other IDE can try it out
.
Edit: Same with rescript legacy build -w.
Edit2: Probably the removal of chokidar causes the issue?! So I have to change my neovim config somehow to recognize file changes.
Edit 3: Just for the sake of completeness:
Added the following capabilities to my lsp config and now file changes will be tracked.
capabilities = {
workspace = {
didChangeWatchedFiles = {
dynamicRegistration = true,
},
},
}
