♻️ refactor(nvim): personal svelte extra now imports lazyvim native one

This commit is contained in:
Sergio Laín 2024-06-01 21:45:02 +02:00
parent 6d82a3c9a1
commit 79da319e9c
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B

View file

@ -8,14 +8,7 @@ local inlay_hints_settings = {
} }
return { return {
{ { import = "lazyvim.plugins.extras.lang.svelte" },
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "svelte" })
end
end,
},
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
@ -41,13 +34,6 @@ return {
}, },
}, },
}, },
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "svelte-language-server" })
end,
},
{ {
"dmmulroy/ts-error-translator.nvim", "dmmulroy/ts-error-translator.nvim",
opts = {}, opts = {},