diff options
Diffstat (limited to 'nvim/after/plugin/neotest-python.lua')
-rw-r--r-- | nvim/after/plugin/neotest-python.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nvim/after/plugin/neotest-python.lua b/nvim/after/plugin/neotest-python.lua index 404695b..6637042 100644 --- a/nvim/after/plugin/neotest-python.lua +++ b/nvim/after/plugin/neotest-python.lua @@ -94,6 +94,11 @@ vim.keymap.set("n", "tr", function() end, { noremap = true, silent = true, nowait = true }) +vim.keymap.set("n", "ta", function() + local neotest = require("neotest") + neotest.run.attach() +end) + vim.keymap.set("n", "to", function() local neotest = require("neotest") neotest.output.open({ last_run = true, enter = true }) |