From b582113b99f68854cb9cc5a852c0c112ddef986c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 31 May 2024 21:08:01 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20import=20new=20lazyvi?= =?UTF-8?q?m=20astro=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nvim/lua/plugins/extras/lang/web/astro.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lang/web/astro.lua b/.config/nvim/lua/plugins/extras/lang/web/astro.lua index cae9989e..a36a6293 100644 --- a/.config/nvim/lua/plugins/extras/lang/web/astro.lua +++ b/.config/nvim/lua/plugins/extras/lang/web/astro.lua @@ -1,12 +1,5 @@ return { - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts.ensure_installed) == "table" then - vim.list_extend(opts.ensure_installed, { "astro" }) - end - end, - }, + { import = "lazyvim.plugins.extras.lang.astro" }, { "neovim/nvim-lspconfig", opts = { @@ -26,13 +19,6 @@ return { "dmmulroy/ts-error-translator.nvim", opts = {}, }, - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "astro-language-server" }) - end, - }, { "luckasRanarison/nvim-devdocs", optional = true,