From b30ee0385f33b5fe63fbb555103ea5260310e6ff Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Wed, 26 Jul 2023 09:08:29 -0400 Subject: [PATCH] fix: `astrocore.utils` moved to `astrocore` --- lua/plugins/mason.lua | 6 +++--- lua/plugins/treesitter.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index a131e3f..477be85 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -6,7 +6,7 @@ return { -- overrides `require("mason-lspconfig").setup(...)` opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it - opts.ensure_installed = require("astrocore.utils").list_insert_unique(opts.ensure_installed, { + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { -- "lua_ls", }) end, @@ -17,7 +17,7 @@ return { -- overrides `require("mason-null-ls").setup(...)` opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it - opts.ensure_installed = require("astrocore.utils").list_insert_unique(opts.ensure_installed, { + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { -- "prettier", -- "stylua", }) @@ -28,7 +28,7 @@ return { -- overrides `require("mason-nvim-dap").setup(...)` opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it - opts.ensure_installed = require("astrocore.utils").list_insert_unique(opts.ensure_installed, { + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { -- "python", }) end, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 0fcf76d..2fd7241 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -2,7 +2,7 @@ return { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it - opts.ensure_installed = require("astrocore.utils").list_insert_unique(opts.ensure_installed, { + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { -- "lua" }) end,