remove neotest
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require("neotest").setup {
|
||||
adapters = {
|
||||
require "rustaceanvim.neotest",
|
||||
},
|
||||
}
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>tt",
|
||||
function()
|
||||
require("neotest").run.run(vim.fn.expand "%")
|
||||
end,
|
||||
{ desc = "Test current file" },
|
||||
},
|
||||
{
|
||||
"<leader>TT",
|
||||
function()
|
||||
require("neotest").run.run()
|
||||
end,
|
||||
{ desc = "Run test suite" },
|
||||
},
|
||||
{
|
||||
"<leader>ts",
|
||||
function()
|
||||
require("neotest").summary.toggle()
|
||||
end,
|
||||
{ desc = "Toggle neotest summary" },
|
||||
},
|
||||
{
|
||||
"<leader>tw",
|
||||
function()
|
||||
require("neotest").watch.watch(vim.fn.expand "%")
|
||||
end,
|
||||
{ desc = "Watch current file" },
|
||||
},
|
||||
{
|
||||
"<leader>TW",
|
||||
function()
|
||||
require("neotest").watch.watch()
|
||||
end,
|
||||
{ desc = "Watch test suite" },
|
||||
},
|
||||
{
|
||||
"<leader>to",
|
||||
function()
|
||||
require("neotest").output.open()
|
||||
end,
|
||||
{ desc = "View test output" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user