From 80ef520401f83e6959e5eb8a85aaf79b7513c631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Sun, 6 Sep 2020 12:22:44 +0200 Subject: [PATCH] Update settings for the new release One notable change is that I've disabled "vetur.experimental.templateInterpolationService" as it's disabled by default in vetur. Many people don't know very well how to handle those errors in a JS-based Vue files so it can be annoying. --- LSP-vue.sublime-settings | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/LSP-vue.sublime-settings b/LSP-vue.sublime-settings index e5cda98..edf40d3 100644 --- a/LSP-vue.sublime-settings +++ b/LSP-vue.sublime-settings @@ -2,8 +2,11 @@ "languages": [ { "languageId": "vue", + // ST3 "scopes": ["text.html.vue"], "syntaxes": ["Packages/Vue Syntax Highlight/Vue Component.sublime-syntax"], + // ST4 + "document_selector": "text.html.vue", } ], "initializationOptions": { @@ -11,11 +14,12 @@ "vetur": { "completion": { "autoImport": false, + "scaffoldSnippetSources": { + "user": "🗒️", + "workspace": "💼", + "vetur": "✌", + }, "tagCasing": "kebab", - "useScaffoldSnippets": false, - }, - "experimental": { - "templateInterpolationService": true, }, "format": { "enable": true, @@ -32,9 +36,14 @@ }, "useWorkspaceDependencies": false, "validation": { + "interpolation": true, "script": true, "style": true, "template": true, + "templateProps": false, + }, + "experimental": { + "templateInterpolationService": false, }, }, "css": {