Skip to content

Commit

Permalink
refactor: remove unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Apr 2, 2023
1 parent 9f35041 commit 27cb5eb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lua/neotest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,7 @@ end
---@eval return require('neotest.config')._format_default()
function neotest.setup(user_config)
config.setup(user_config)
local project_adapters = {}
for root, project_conf in pairs(config.projects) do
project_adapters[root] = project_conf.adapters
end
local adapter_group = require("neotest.adapters")(config.adapters, project_adapters)
local adapter_group = require("neotest.adapters")()
local client = require("neotest.client")(adapter_group)
local all_consumers = vim.tbl_extend("error", require("neotest.consumers"), config.consumers)
for name, consumer in pairs(all_consumers) do
Expand Down

0 comments on commit 27cb5eb

Please sign in to comment.