diff --git a/client/vueMain.ts b/client/vueMain.ts index 4437fb4ecf..7165cd7c32 100644 --- a/client/vueMain.ts +++ b/client/vueMain.ts @@ -22,10 +22,9 @@ export function activate(context: vscode.ExtensionContext) { context.subscriptions.push( vscode.commands.registerCommand('vetur.chooseTypeScriptRefactoring', (args: any) => { - client.sendRequest('requestCodeActionEdits', args) - .then(command => - command && vscode.commands.executeCommand(command.command, ...command.arguments!) - ); + client + .sendRequest('requestCodeActionEdits', args) + .then(command => command && vscode.commands.executeCommand(command.command, ...command.arguments!)); }) ); diff --git a/package.json b/package.json index cbe3c0d022..6d1d8a3e13 100644 --- a/package.json +++ b/package.json @@ -412,6 +412,11 @@ "vetur.dev.vlsPath": { "type": "string", "description": "Path to VLS for Vetur developers. There are two ways of using it. \n\n1. Clone vuejs/vetur from GitHub, build it and point it to the ABSOLUTE path of `/server`.\n2. `yarn global add vue-language-server` and point Vetur to the installed location (`yarn global dir` + node_modules/vue-language-server)" + }, + "vetur.experimental.templateTypeCheck": { + "type": "boolean", + "default": true, + "description": "Type-check interpolation expressions in