Skip to content

Commit e74539f

Browse files
authored
feat: lazy loading (#22)
defer requiring any vstest modules until they are requied by the neotest client. In this way requiring the adapter at startup incurs no additional startup time for the user
1 parent b2ab104 commit e74539f

File tree

3 files changed

+463
-412
lines changed

3 files changed

+463
-412
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ require("neotest").setup({
6666
dap_settings = {
6767
type = "netcoredbg",
6868
}
69+
-- If multiple solutions exists the adapter will ask you to choose one.
70+
-- If you have a different heuristic for choosing a solution you can provide a function here.
71+
solution_selector = function(solutions)
72+
return nil -- return the solution you want to use or nil to let the adapter choose.
73+
end
6974
})
7075
}
7176
})

0 commit comments

Comments
 (0)