Skip to content

Commit

Permalink
Update settings for the new release
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rchl committed Sep 9, 2020
1 parent cd8a0f7 commit 80ef520
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions LSP-vue.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
"languages": [
{
"languageId": "vue",
// ST3
"scopes": ["text.html.vue"],
"syntaxes": ["Packages/Vue Syntax Highlight/Vue Component.sublime-syntax"],
// ST4
"document_selector": "text.html.vue",
}
],
"initializationOptions": {
"config": {
"vetur": {
"completion": {
"autoImport": false,
"scaffoldSnippetSources": {
"user": "🗒️",
"workspace": "💼",
"vetur": "✌",
},
"tagCasing": "kebab",
"useScaffoldSnippets": false,
},
"experimental": {
"templateInterpolationService": true,
},
"format": {
"enable": true,
Expand All @@ -32,9 +36,14 @@
},
"useWorkspaceDependencies": false,
"validation": {
"interpolation": true,
"script": true,
"style": true,
"template": true,
"templateProps": false,
},
"experimental": {
"templateInterpolationService": false,
},
},
"css": {
Expand Down

0 comments on commit 80ef520

Please sign in to comment.