Skip to content

Commit

Permalink
fix: TS completion not working in interpolations
Browse files Browse the repository at this point in the history
close #1088
  • Loading branch information
johnsoncodehk committed Mar 21, 2022
1 parent 8b6f89b commit 99ed3c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue-language-service/src/languageService.ts
Expand Up @@ -262,7 +262,6 @@ export function createLanguageService(
vueTemplateHtmlPlugin,
vueTemplatePugPlugin,
jsonPlugin,
emmetPlugin,
referencesCodeLensPlugin,
htmlPugConversionsPlugin,
scriptSetupConversionsPlugin,
Expand All @@ -276,6 +275,8 @@ export function createLanguageService(
plugins.push(scriptTsPlugin);
plugins.push(autoDotValuePlugin);
}
// put emmet plugin at latest to fix https://github.com/johnsoncodehk/volar/issues/1088
plugins.push(emmetPlugin);
return plugins;
},
getPluginById: id => allPlugins.get(id),
Expand Down

0 comments on commit 99ed3c8

Please sign in to comment.