added neotest
This commit is contained in:
parent
8c7fb8053b
commit
1929ec4eff
21
lua/nat/lazy/neotest.lua
Normal file
21
lua/nat/lazy/neotest.lua
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
return { { "nvim-neotest/neotest", dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"antoinemadec/FixCursorHold.nvim",
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"marilari88/neotest-vitest",
|
||||||
|
"nvim-neotest/neotest-plenary",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
local neotest = require("neotest")
|
||||||
|
neotest.setup({
|
||||||
|
adapters = {
|
||||||
|
require("neotest-vitest"),
|
||||||
|
-- require("neotest-plenary").setup({
|
||||||
|
-- -- this is my standard location for minimal vim rc
|
||||||
|
-- -- in all my projects
|
||||||
|
-- min_init = "./scripts/tests/minimal.vim",
|
||||||
|
-- }),
|
||||||
|
}
|
||||||
|
})
|
||||||
|
vim.keymap.set("n", "<leader>tc", function() neotest.run.run() end)
|
||||||
|
end } }
|
Loading…
Reference in New Issue
Block a user