Bug: vim-lsp fails to parse headers sent from volar when using @volar/vue-language-server with --stdio
flag
#1043
Labels
bug
Something isn't working
--stdio
flag
#1043
For example, when the user don't set
volar.config.js
, volar v0.33.0 or later callsconsole.log
for logging. But, when using volar with--stdio
, texts output fromconsole.log
also included to messages sent to vim-lsp. Then, it breaks parsing function in vim-lsp and I cannnot use volar... After I replacedconsole.log
toconsole.warn
, which means the message goes to stderr, both volar and vim-lsp look work fine.https://github.com/johnsoncodehk/volar/blob/3852ee85c8d7a8e20e0bca084d2b73cf11491f93/packages/vue-language-service/src/languageService.ts#L519
Also, following code could cause same problem.
https://github.com/johnsoncodehk/volar/blob/271cdc7c3ad9f93725b422ce7e4086775b09929b/packages/shared/src/ts.ts#L142
The text was updated successfully, but these errors were encountered: