Skip to content

Commit

Permalink
fix(pack): fix incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Dec 20, 2023
1 parent 55a69bd commit bb32d33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lua/astrocommunity/pack/haxe/init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
local utils = require "astronvim.utils"
vim.filetype.add { extension = { hx = "haxe" } }

return {
Expand All @@ -15,6 +16,6 @@ return {
filetype = "haxe",
}

opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, "haxe")
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "haxe")
end,
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/helm/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ return {
}
vim.treesitter.language.register("gotmpl", "helm")

opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, "gotmpl")
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "gotmpl")
end,
},
{
Expand Down
3 changes: 2 additions & 1 deletion lua/astrocommunity/pack/just/init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
local utils = require "astronvim.utils"
vim.filetype.add {
extension = { just = "just" },
filename = {
Expand All @@ -24,6 +25,6 @@ return {
maintainers = { "@IndianBoy42" },
}

opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, "just")
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "just")
end,
}

0 comments on commit bb32d33

Please sign in to comment.