Closed fredrikaverpil closed 2 months ago
Build tags are not propagated to the internal dap-go config.
This adds support for passing build flags to delve:
return { { "nvim-neotest/neotest", config = function() require("neotest").setup({ adapters = { require("neotest-golang")({ go_test_args = { "-count=1", "-tags=integration" }, go_list_args = { "-tags=integration" }, dap_go_opts = { delve = { build_flags = { "-tags=integration" }, }, }, }), }, }) end, }, }
delve.build_flags
Why?
Build tags are not propagated to the internal dap-go config.
What?
This adds support for passing build flags to delve:
delve.build_flags
was provided in neotest-golang opts.