Set dap_debug_keymap to true by default (#73)
This commit is contained in:
parent
a54f5d452f
commit
60e0659d50
@ -429,7 +429,8 @@ 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, -- set keymaps for debugger
|
||||
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.
|
||||
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
|
||||
|
@ -275,6 +275,8 @@ You can setup go.nvim with following options:
|
||||
gocoverage_sign_priority = 5,
|
||||
dap_debug = true,
|
||||
dap_debug_gui = true,
|
||||
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.
|
||||
dap_vt = true, -- false, true and 'all frames'
|
||||
textobjects = true,
|
||||
gopls_cmd = nil, --- you can provide gopls path and cmd if it not in PATH, e.g. cmd = { "/home/ray/.local/nvim/data/lspinstall/go/gopls" }
|
||||
|
@ -30,8 +30,9 @@ _GO_NVIM_CFG = {
|
||||
gocoverage_sign = "█",
|
||||
gocoverage_sign_priority = 5,
|
||||
dap_debug = true,
|
||||
|
||||
dap_debug_gui = true,
|
||||
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.
|
||||
dap_vt = true, -- false, true and 'all frames'
|
||||
textobjects = true,
|
||||
test_runner = "go", -- richgo, go test, richgo, dlv, ginkgo
|
||||
|
Loading…
Reference in New Issue
Block a user