use plugin neotest
This commit is contained in:
parent
e5625d642e
commit
c803c6ede1
21
lua/plugins/tests.lua
Normal file
21
lua/plugins/tests.lua
Normal file
@ -0,0 +1,21 @@
|
||||
return {
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"rouge8/neotest-rust",
|
||||
},
|
||||
init = function ()
|
||||
require("neotest").setup({
|
||||
adapters = {
|
||||
require("neotest-rust") {
|
||||
args = { "--no-capture" },
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user