You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
437 B
Lua
15 lines
437 B
Lua
return {
|
|
'preservim/vimux',
|
|
dependencies = {
|
|
'vim-test/vim-test',
|
|
},
|
|
config = function()
|
|
local opts = { noremap = true, silent = true }
|
|
local keymap = vim.api.nvim_set_keymap
|
|
keymap('n', '<leader>rb', '<cmd>wall <bar> TestFile<cr>', opts)
|
|
keymap('n', '<leader>rf', '<cmd>wall <bar> TestNearest<cr>',opts)
|
|
keymap('n', '<leader>rl', '<cmd>wall <bar> TestLast<cr>', opts)
|
|
vim.cmd [[ let test#strategy = "vimux" ]]
|
|
end,
|
|
}
|