nvim/lua/user/test.lua
2026-08-15 18:02:42 +05:30

19 lines
540 B
Lua

-- lua/user/test.lua
-- Returns vim-test plugin spec for lazy.nvim
return {
{
"vim-test/vim-test",
config = function()
vim.cmd([[
let test#strategy = "neovim"
" Customize the keybindings or other settings here
nmap <silent> t<C-n> :TestNearest<CR>
nmap <silent> t<C-f> :TestFile<CR>
nmap <silent> t<C-s> :TestSuite<CR>
nmap <silent> t<C-l> :TestLast<CR>
nmap <silent> t<C-g> :TestVisit<CR>
]])
end,
},
}