diff options
author | Subho Banerjee <[email protected]> | 2021-09-30 02:31:59 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-30 11:01:59 +0330 |
commit | 8ec92c0420374097f1a617fe91cd6f6a5503c5b0 (patch) | |
tree | 727ef5cf7a3363ade163ff0641bbc013de90cb70 /lua/core/dap.lua | |
parent | 346925fcdcc122702270ca678b5dd1e68820aa00 (diff) |
Feature: Define signs for Dap (#1642)
Diffstat (limited to 'lua/core/dap.lua')
-rw-r--r-- | lua/core/dap.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/core/dap.lua b/lua/core/dap.lua index 5de3b7c4..d9b59641 100644 --- a/lua/core/dap.lua +++ b/lua/core/dap.lua @@ -10,6 +10,18 @@ M.config = function() linehl = "", numhl = "", }, + breakpoint_rejected = { + text = "", + texthl = "LspDiagnosticsSignHint", + linehl = "", + numhl = "", + }, + stopped = { + text = "", + texthl = "LspDiagnosticsSignInformation", + linehl = "DiagnosticUnderlineInfo", + numhl = "LspDiagnosticsSignInformation", + }, } end @@ -17,6 +29,9 @@ M.setup = function() local dap = require "dap" vim.fn.sign_define("DapBreakpoint", lvim.builtin.dap.breakpoint) + vim.fn.sign_define("DapBreakpointRejected", lvim.builtin.dap.breakpoint_rejected) + vim.fn.sign_define("DapStopped", lvim.builtin.dap.stopped) + dap.defaults.fallback.terminal_win_cmd = "50vsplit new" lvim.builtin.which_key.mappings["d"] = { |