Skip to content

Commit 898e8f7

Browse files
committed
fix(zig): add empty config function for neotest adapter
1 parent eb47a87 commit 898e8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/astrocommunity/pack/zig/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ return {
1111
{
1212
"nvim-neotest/neotest",
1313
optional = true,
14-
dependencies = { "lawrence-laz/neotest-zig", version = "^1" },
14+
dependencies = { "lawrence-laz/neotest-zig", version = "^1", config = function() end },
1515
opts = function(_, opts)
1616
if not opts.adapters then opts.adapters = {} end
17-
table.insert(opts.adapters, require "neotest-zig")
17+
table.insert(opts.adapters, require "neotest-zig"(require("astrocore").plugin_opts "neotest-zig"))
1818
end,
1919
},
2020
{

0 commit comments

Comments
 (0)