File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,11 @@ return {
3636 before_init = function (_ , config )
3737 local registry_ok , registry = pcall (require , " mason-registry" )
3838 if not registry_ok then return end
39- local vuels = registry .get_package " vue-language-server"
40-
41- if vuels :is_installed () then
42- local volar_install_path = vuels :get_install_path () .. " /node_modules/@vue/language-server"
4339
40+ if registry .is_installed " vue-language-server" then
4441 local vue_plugin_config = {
4542 name = " @vue/typescript-plugin" ,
46- location = volar_install_path ,
43+ location = vim . fn . expand " $MASON/packages/vue-language-server/node_modules/@vue/language-server " ,
4744 languages = { " vue" },
4845 configNamespace = " typescript" ,
4946 enableForWorkspaceTypeScriptVersions = true ,
You can’t perform that action at this time.
0 commit comments