mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 19:30:01 +02:00
38 lines
715 B
Lua
38 lines
715 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" }
|
|
}
|
|
},
|
|
{
|
|
"windwp/nvim-ts-autotag",
|
|
optional = true,
|
|
opts = {
|
|
filetypes = {
|
|
'vue',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = lspservers
|
|
},
|
|
}
|
|
}
|