doc update for test_runner

pull/74/head
ray-x 2 years ago
parent 29960fe775
commit e232ed38e6

@ -430,8 +430,9 @@ require('go').setup({
dap_debug = true, -- set to false to disable dap
textobjects = true, -- enable default text jobects through treesittter-text-objects
test_runner = 'go', -- richgo, go test, richgo, dlv, ginkgo
dap_debug_keymap = true, -- true: use keymap for debugger defined in go/dap.lua
-- false: do not use keymap in go/dap.lua. you must define your own.
run_in_floaterm = false, -- set to true to run in float window.
--float term recommand if you use richgo/ginkgo with terminal color
dap_debug_keymap = true, -- set keymaps for debugger
dap_debug_gui = true, -- set to true to enable dap gui, highly recommand
dap_debug_vt = true, -- set to true to enable dap virtual text
build_tags = "tag1,tag2", -- set default build tags

@ -52,6 +52,8 @@ local dap_config = function()
vim.cmd([[command! DapStop lua require'go.dap'.stop()]])
end
-- TODO: nvim_{add,del}_user_command https://github.com/neovim/neovim/pull/16752
function go.setup(cfg)
cfg = cfg or {}
if cfg.max_len then

Loading…
Cancel
Save