ocaml-lsp icon indicating copy to clipboard operation
ocaml-lsp copied to clipboard

must constantly restart lsp to get accurate information

Open mattmarcello opened this issue 1 year ago • 0 comments

I have been looking at lsp logs and I can see rpc.send events for every change I make to a given file.

On startup, if I have a type error, I see and rpc.receive event with the expected error information.

Occasionally, but not consistently, I can trigger an rpc.receive event by calling :LspRestart.

I have experienced this issue both with Mason ( which bundles its own copy of the ocaml-lsp ) and one installed via OPAM.

Would really appreciate some help here. Happy to share lsp logs if that's helpful.

mattmarcello avatar Jun 13 '23 00:06 mattmarcello