updated secrets baseline config
This commit was merged in pull request #1.
This commit is contained in:
@@ -7,15 +7,17 @@ return {
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
lazy = true,
|
||||
ft = { "go", "ptyhon" },
|
||||
ft = { "go", "ptyhon", "zig" },
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter", -- noetest-zig parses tests via treesitter
|
||||
|
||||
-- Adapters
|
||||
"nvim-neotest/neotest-go",
|
||||
"nvim-neotest/neotest-python",
|
||||
"lawrence-laz/neotest-zig",
|
||||
},
|
||||
config = function()
|
||||
require("neotest").setup({
|
||||
@@ -39,6 +41,14 @@ return {
|
||||
dap = { justMyCode = false },
|
||||
args = { "--disable-warnings", "-q" },
|
||||
}),
|
||||
|
||||
-- Zig: requires a standard `test` step in build.zig for project-wide runs;
|
||||
-- individual .zig files also work.
|
||||
-- dap.adapter must match the adapter named registered in dap.lua (codelldb) so <leader>dT-style
|
||||
-- debug-test works from the summary too
|
||||
require("neotest-zig")({
|
||||
dap = { adapter = "codelldb" },
|
||||
}),
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user