We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db9678 commit 060e8faCopy full SHA for 060e8fa
packages/language-core/lib/languagePlugin.ts
@@ -79,10 +79,14 @@ export function createVueLanguagePlugin<T>(
79
}
80
81
},
82
- updateVirtualCode(_fileId, code, snapshot) {
+ updateVirtualCode(_scriptId, code, snapshot) {
83
code.update(snapshot);
84
return code;
85
86
+ disposeVirtualCode(scriptId) {
87
+ const fileName = asFileName(scriptId);
88
+ fileRegistry.delete(fileName);
89
+ },
90
typescript: {
91
extraFileExtensions: getAllExtensions(vueCompilerOptions)
92
.map<ts.FileExtensionInfo>(ext => ({
0 commit comments