initialize with first MVP

This commit is contained in:
2025-12-23 14:10:06 +01:00
commit 4de8921a42
14 changed files with 733 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
local M = {}
M.defaults = {
runner_modules = {
"test-samurai.runners.go",
"test-samurai.runners.js-jest",
"test-samurai.runners.js-mocha",
"test-samurai.runners.js-vitest",
},
}
M.options = vim.deepcopy(M.defaults)
function M.setup(opts)
if not opts or next(opts) == nil then
M.options = vim.deepcopy(M.defaults)
return
end
M.options = vim.tbl_deep_extend("force", M.defaults, opts)
end
function M.get()
return M.options
end
return M