fix: `astrocore.utils` moved to `astrocore`

pull/1/head
Micah Halter 2023-07-26 09:08:29 -04:00
parent 372bba036f
commit b30ee0385f
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ return {
-- overrides `require("mason-lspconfig").setup(...)` -- overrides `require("mason-lspconfig").setup(...)`
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- 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", -- "lua_ls",
}) })
end, end,
@ -17,7 +17,7 @@ return {
-- overrides `require("mason-null-ls").setup(...)` -- overrides `require("mason-null-ls").setup(...)`
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- 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", -- "prettier",
-- "stylua", -- "stylua",
}) })
@ -28,7 +28,7 @@ return {
-- overrides `require("mason-nvim-dap").setup(...)` -- overrides `require("mason-nvim-dap").setup(...)`
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- 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", -- "python",
}) })
end, end,

View File

@ -2,7 +2,7 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- 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" -- "lua"
}) })
end, end,