Set dap_debug_keymap to true by default (#73)

This commit is contained in:
Craig Rodrigues 2022-01-11 14:35:42 -08:00 committed by GitHub
parent a54f5d452f
commit 60e0659d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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" }

View File

@ -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