diff --git a/CHANGELOG.md b/CHANGELOG.md index 285e9b2b62..201b453648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +### 0.29.1 + +- Fix invalid `client/registerCapability` request. Thanks to contribution from [@rchl](https://github.com/rchl) #2388 + ### 0.29.0 | 2020-11-02 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.29.0/vspackage) - Fix "Duplicate identifier" errors when using multiple keydown events with modifiers. #1745. diff --git a/server/src/services/vls.ts b/server/src/services/vls.ts index 06225dca71..124dc8e9ca 100644 --- a/server/src/services/vls.ts +++ b/server/src/services/vls.ts @@ -190,9 +190,7 @@ export class VLS { private async setupDynamicFormatters(settings: VLSFullConfig) { if (settings.vetur.format.enable) { if (!this.documentFormatterRegistration) { - this.documentFormatterRegistration = await this.lspConnection.client.register(DocumentFormattingRequest.type, { - documentSelector: ['vue'] - }); + this.documentFormatterRegistration = await this.lspConnection.client.register(DocumentFormattingRequest.type); } } else { if (this.documentFormatterRegistration) {