FurqanSoftware / codemirror-languageserver

Language Server integration for CodeMirror 6
BSD 3-Clause "New" or "Revised" License
183 stars 24 forks source link

Waiting for reply of `initialized` before continuing #21

Closed rezass closed 1 year ago

rezass commented 1 year ago

Hi all,

Looking at https://github.com/latex-lsp/texlab/issues/805#issuecomment-1290233427, it seems that the initialized should be serialized after initialize and before sending any other requests. Currently it sends the textDocument/didOpen after initialize.

hjr265 commented 1 year ago

I have just deployed an update and released it into NPM. This update should defer the initialization of the plugin (which is when "textDocument/didOpen" is emitted) until the client itself is ready (which is when "initialized" is emitted).

image

Please feel free to reopen if the issue persists.