[LSP] Fix vue setup
This commit is contained in:
parent
d7b445365d
commit
68fc58a50a
@ -142,6 +142,11 @@ return {
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
lspconfig.volar.setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach
|
||||
})
|
||||
|
||||
lspconfig.ts_ls.setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
@ -149,7 +154,7 @@ return {
|
||||
plugins = {
|
||||
{
|
||||
name = "@vue/typescript-plugin",
|
||||
location = "/usr/local/lib/node_modules/@vue/typescript-plugin",
|
||||
location = "/usr/lib/node_modules/@vue/typescript-plugin",
|
||||
languages = { "javascript", "typescript", "vue" },
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user