1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00
dotfiles/nvim/lua/user/plugins/lang/vue.lua

30 lines
575 B
Lua

local lspservers = {
volar = {
init_options = {
vue = {
hybridMode = true,
},
},
}
}
return {
-- Vue needs typescript
{ import = "user.plugins.lang.typescript" },
-- And most likely css/scss aswell.
{ import = "user.plugins.lang.css" },
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = { "vue" }
}
},
{
"neovim/nvim-lspconfig",
ft = { "vue" },
opts = {
servers = lspservers
},
}
}