feat(dap): fist naive implementaion
This commit is contained in:
parent
80d0659425
commit
413efcc9f2
3 changed files with 118 additions and 0 deletions
12
lua/gopher/dap/init.lua
Normal file
12
lua/gopher/dap/init.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local cfg = require "gopher.dap.config"
|
||||
local u = require "gopher._utils"
|
||||
local M = {}
|
||||
|
||||
---setup nvim-dap for golang using
|
||||
function M.setup()
|
||||
local dap = u.sreq "dap"
|
||||
dap.adapters.go = cfg.adapter
|
||||
dap.configurations.go = cfg.configuration
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue