26 lines
560 B
Lua
26 lines
560 B
Lua
return {
|
|
"nvim-neotest/neotest",
|
|
dependencies = {
|
|
"nvim-neotest/nvim-nio",
|
|
"nvim-neotest/neotest-python",
|
|
"nvim-neotest/neotest-go",
|
|
"nvim-lua/plenary.nvim",
|
|
"antoinemadec/FixCursorHold.nvim",
|
|
"nvim-treesitter/nvim-treesitter"
|
|
},
|
|
config = function()
|
|
require("neotest").setup({
|
|
adapters = {
|
|
require("neotest-python")({
|
|
python = vim.fn.exepath("python"),
|
|
runner = "pytest",
|
|
}),
|
|
require("neotest-go")
|
|
},
|
|
diagnostic = {
|
|
enabled = true
|
|
}
|
|
})
|
|
end
|
|
}
|