feat(dap): fist naive implementaion

This commit is contained in:
Smirnov Oleksandr 2022-09-22 17:28:04 +03:00
parent 80d0659425
commit 413efcc9f2
3 changed files with 118 additions and 0 deletions

View file

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