feat(nvim): add volar lsp config
parent
9935cd4aa4
commit
c2cb7bf1f6
|
@ -154,3 +154,11 @@ lspconfig["html"].setup({
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- setup volar
|
||||
lspconfig["volar"].setup({
|
||||
cmd = { "./node_modules/.bin/vue-language-server", "--stdio" },
|
||||
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json' },
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue