feat(nvim): add vue-2 and vue-3 extra instead of having only vue extra

This commit is contained in:
Sergio Laín 2024-04-06 00:11:32 +02:00
parent c43e2707de
commit f4978df343
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,35 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "vue" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
vuels = {},
volar = {
enabled = false,
},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "vetur-vls" })
end,
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
ensure_installed = {
"vue-3",
},
},
}