docs(dap): add doc
This commit is contained in:
parent
dba618d387
commit
34d742824f
3 changed files with 17 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
---@toc_entry Setup `nvim-dap` for Go
|
||||
---@tag gopher.nvim-dap
|
||||
---@text This module sets up `nvim-dap` for Go.
|
||||
---@usage just call `require("gopher.dap").setup()`, and you're good to go.
|
||||
|
||||
local u = require "gopher._utils"
|
||||
local c = require "gopher.config"
|
||||
local dap = {}
|
||||
|
|
@ -106,7 +111,7 @@ dap.configuration = {
|
|||
},
|
||||
}
|
||||
|
||||
---setup `nvim-dap` for Go
|
||||
-- sets ups nvim-dap for Go in one function call.
|
||||
function dap.setup()
|
||||
local d = u.sreq "dap"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue