Skip to content

Commit

Permalink
fix(zig): add empty config function for neotest adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Sep 5, 2024
1 parent eb47a87 commit 898e8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/astrocommunity/pack/zig/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ return {
{
"nvim-neotest/neotest",
optional = true,
dependencies = { "lawrence-laz/neotest-zig", version = "^1" },
dependencies = { "lawrence-laz/neotest-zig", version = "^1", config = function() end },
opts = function(_, opts)
if not opts.adapters then opts.adapters = {} end
table.insert(opts.adapters, require "neotest-zig")
table.insert(opts.adapters, require "neotest-zig"(require("astrocore").plugin_opts "neotest-zig"))
end,
},
{
Expand Down

0 comments on commit 898e8f7

Please sign in to comment.