mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(neotest): properly initialize adapter with call table. Fixes #4538
This commit is contained in:
parent
90a92312ae
commit
327e829c15
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ return {
|
||||||
adapter.adapter(config)
|
adapter.adapter(config)
|
||||||
adapter = adapter.adapter
|
adapter = adapter.adapter
|
||||||
elseif meta and meta.__call then
|
elseif meta and meta.__call then
|
||||||
adapter(config)
|
adapter = adapter(config)
|
||||||
else
|
else
|
||||||
error("Adapter " .. name .. " does not support setup")
|
error("Adapter " .. name .. " does not support setup")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue