diff options
Diffstat (limited to 'lua/core/dap.lua')
-rw-r--r-- | lua/core/dap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/core/dap.lua b/lua/core/dap.lua index 259ff87e..5de3b7c4 100644 --- a/lua/core/dap.lua +++ b/lua/core/dap.lua @@ -1,7 +1,9 @@ local M = {} + M.config = function() lvim.builtin.dap = { active = false, + on_config_done = nil, breakpoint = { text = "ï—£", texthl = "LspDiagnosticsSignError", @@ -33,6 +35,10 @@ M.setup = function() s = { "<cmd>lua require'dap'.continue()<cr>", "Start" }, q = { "<cmd>lua require'dap'.close()<cr>", "Quit" }, } + + if lvim.builtin.dap.on_config_done then + lvim.builtin.dap.on_config_done(dap) + end end -- TODO put this up there ^^^ call in ftplugin |