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

38 lines
716 B
Lua

local lspservers = {
vue_ls = {
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" }
}
},
{
"windwp/nvim-ts-autotag",
optional = true,
opts = {
filetypes = {
'vue',
},
},
},
{
"neovim/nvim-lspconfig",
opts = {
servers = lspservers
},
}
}