Skip to content

Commit

Permalink
chore(vscode): remove embedded language IDs (#4081)
Browse files Browse the repository at this point in the history
The language ID isn’t needed for injections. Only `scopeName` is needed.
The language ID appears in the VSCode language selector, which isn’t
desired behaviour.
  • Loading branch information
remcohaszing committed Mar 20, 2024
1 parent 5d8d132 commit bacea2a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,6 @@
{
"id": "plaintext",
"configuration": "./languages/sfc-template-language-configuration.json"
},
{
"id": "vue-injection-markdown"
},
{
"id": "vue-directives"
},
{
"id": "vue-interpolations"
},
{
"id": "vue-sfc-style-variable-injection"
}
],
"typescriptServerPlugins": [
Expand Down Expand Up @@ -149,7 +137,6 @@
]
},
{
"language": "vue-injection-markdown",
"scopeName": "markdown.vue.codeblock",
"path": "./syntaxes/markdown-vue.json",
"injectTo": [
Expand Down Expand Up @@ -185,7 +172,6 @@
}
},
{
"language": "vue-directives",
"scopeName": "vue.directives",
"path": "./syntaxes/vue-directives.json",
"injectTo": [
Expand All @@ -196,7 +182,6 @@
]
},
{
"language": "vue-interpolations",
"scopeName": "vue.interpolations",
"path": "./syntaxes/vue-interpolations.json",
"injectTo": [
Expand All @@ -207,7 +192,6 @@
]
},
{
"language": "vue-sfc-style-variable-injection",
"scopeName": "vue.sfc.style.variable.injection",
"path": "./syntaxes/vue-sfc-style-variable-injection.json",
"injectTo": [
Expand Down

0 comments on commit bacea2a

Please sign in to comment.