You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to config which features should enable by initializationOptions in language client, because volar split language features to two TS language server to resolved request blocking. (#390)
LSP clients(like Sublime Text), won't send server requests if the server didn't announce support for those requests through capabilities.
Currently the Volar server only announces this capability:
https://github.com/johnsoncodehk/volar/blob/8733e9483389d9567525f0493b56697fe8f2c35a/packages/server/src/index.ts#L34-L36
But it should actually include lots of other capabilities.
Here is an example of what the Vetur server returns:
Note: I accidentally lowercased all the object keys :)
Additional context:
Even when I add a completion capability for completions:
When a LSP client sends a request to Volar,
Volar returns this error:
So even when Volar has specified capabilities, the server still will not work with other LSP clients (just yet :). Do you have any idea why?
The text was updated successfully, but these errors were encountered: