Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid client/registerCapability request
The documentSelector is a list of DocumentFilter and can not contain a string as that is invalid per the LSP spec [1]. The types provided by https://github.com/microsoft/vscode-languageserver-node are wrong: microsoft/vscode-languageserver-node#685 It would be an option to send registrationOptions in proper format but it's not necessary to specify the documentSelector since vetur only runs in vue files. So skipping it entirely is equivalent. [1] https://microsoft.github.io/language-server-protocol/specification#documentFilter Resolves vuejs#2388
- Loading branch information