feat(nvim): remove vue extras

The default extra from lazyvim now works with 2 and 3 altogether
This commit is contained in:
Sergio Laín 2025-09-17 23:45:26 +02:00
parent 9d7a41a53e
commit 612c6bcb9c
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
2 changed files with 0 additions and 85 deletions

View file

@ -1,38 +0,0 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vue",
},
},
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
vuels = {},
volar = {
enabled = false,
},
},
},
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"vetur-vls",
},
},
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
opts = {
ensure_installed = {
"vue-2",
},
},
},
}

View file

@ -1,47 +0,0 @@
local inlay_hints_settings = {
parameterNames = { enabled = "all" },
parameterTypes = { enabled = true },
variableTypes = { enabled = true },
propertyDeclarationTypes = { enabled = true },
functionLikeReturnTypes = { enabled = true },
enumMemberValues = { enabled = true },
}
return {
{ import = "lazyvim.plugins.extras.lang.vue" },
{ import = "plugins.extras.lang.web.typescript-extended" },
{
"neovim/nvim-lspconfig",
opts = {
servers = {
volar = {
settings = {
typescript = {
updateImportsOnFileMove = { enabled = "always" },
inlayHints = inlay_hints_settings,
},
javascript = {
updateImportsOnFileMove = { enabled = "always" },
inlayHints = inlay_hints_settings,
},
},
handlers = {
["textDocument/publishDiagnostics"] = function(err, result, ctx, config)
require("ts-error-translator").translate_diagnostics(err, result, ctx, config)
vim.lsp.diagnostic.on_publish_diagnostics(err, result, ctx, config)
end,
},
},
},
},
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
opts = {
ensure_installed = {
"vue-3",
},
},
},
}