Added more editor features to support Golang, sql and git

This commit is contained in:
2026-01-19 19:31:11 -07:00
parent a9b956e141
commit 3b41bd1552
16 changed files with 184 additions and 46 deletions

View File

@@ -5,15 +5,28 @@ return {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
-- Adapters
"nvim-neotest/neotest-go",
"nvim-neotest/neotest-python",
},
opts = {
adapters = {
require("neotest-go"),
require("neotest-python")({
dap = { justMyCode = false },
}),
},
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-go")({
experimental = {
test_table = true,
},
args = { "-count=1", "-race" },
}),
require("neotest-python")({
dap = { justMyCode = false },
args = { "--disable-warnings", "-q" },
}),
},
})
end,
},
}