lvim.builtin.which_key.mappings["dm"] = { "lua require('neotest').run.run()", "Test Method" } lvim.builtin.which_key.mappings["dM"] = { "lua require('neotest').run.run({strategy = 'dap'})", "Test Method DAP" } lvim.builtin.which_key.mappings["df"] = { "lua require('neotest').run.run({vim.fn.expand('%')})", "Test Class" } lvim.builtin.which_key.mappings["dF"] = { "lua require('neotest').run.run({vim.fn.expand('%'), strategy = 'dap'})", "Test Class DAP" } lvim.builtin.which_key.mappings["dS"] = { "lua require('neotest').summary.toggle()", "Test Summary" } -- binding for switching lvim.builtin.which_key.mappings["P"] = { name = "Python", e = { "lua require('swenv.api').pick_venv()", "Choose Env" }, dm = { "lua require('neotest').run.run()", "Test Method" }, dM = { "lua require('neotest').run.run({strategy = 'dap'})", "Test Method DAP" }, df = { "lua require('neotest').run.run({vim.fn.expand('%')})", "Test Class" }, dF = { "lua require('neotest').run.run({vim.fn.expand('%'), strategy = 'dap'})", "Test Class DAP" }, dS = { "lua require('neotest').summary.toggle()", "Test Summary" } }