feat(dap): fist naive implementaion
This commit is contained in:
parent
80d0659425
commit
413efcc9f2
3 changed files with 118 additions and 0 deletions
|
|
@ -53,4 +53,12 @@ return {
|
|||
vim.notify(msg, l)
|
||||
end, 0)
|
||||
end,
|
||||
|
||||
---safe require
|
||||
---@param name string module name
|
||||
sreq = function(name)
|
||||
local ok, m = pcall(require, name)
|
||||
assert(ok, string.format("gopher.nvim dependency error: %s not installed", name))
|
||||
return m
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue