Add vim-test plugin
This commit is contained in:
@@ -22,3 +22,13 @@ sign("DapBreakpoint", { text = "●", texthl = "DapBreakpoint", linehl = "", num
|
||||
sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
|
||||
sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = ""})
|
||||
sign('DapStopped', { text='', texthl='DapStopped', linehl='DapStopped', numhl= 'DapStopped' })
|
||||
|
||||
vim.api.nvim_create_autocmd("QuickFixCmdPost", {
|
||||
callback = function()
|
||||
local qf = vim.fn.getqflist({ size = 0 })
|
||||
if qf.size > 0 then
|
||||
vim.cmd("copen")
|
||||
end
|
||||
end,
|
||||
pattern = "*",
|
||||
})
|
||||
|
||||
@@ -15,6 +15,17 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"vim-test/vim-test",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.g["test#use_quickfix"] = 1
|
||||
vim.g["test#strategy"] = "neovim_sticky"
|
||||
vim.g["test#python#runner"] = "pytest"
|
||||
vim.g["test#python#pytest#executable"] = "uv run pytest"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
lazy = true,
|
||||
|
||||
Reference in New Issue
Block a user