mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
feat: Added neotest
This commit is contained in:
parent
73eb16d84c
commit
de8a963708
1 changed files with 30 additions and 0 deletions
30
lua/plugins/neotest.lua
Normal file
30
lua/plugins/neotest.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
return {
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-neotest/neotest-python",
|
||||
"marilari88/neotest-vitest",
|
||||
},
|
||||
config = function()
|
||||
require("neotest").setup({
|
||||
adapters = {
|
||||
require("neotest-python"),
|
||||
require("neotest-vitest")({
|
||||
vitestCommand = "vitest",
|
||||
}),
|
||||
},
|
||||
icons = {
|
||||
passed = "🟢",
|
||||
running = "🟡",
|
||||
skipped = "🛞",
|
||||
unknown = "⚪",
|
||||
failed = "🔴",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue