fix: help box toggles with ?, add emoji gutter signs with colors
This commit is contained in:
2 files changed
+22
-1
No files matched your search
@@ -12,6 +12,21 @@ function M.setup()
|
||||
load_breakpoints_event = { "BufReadPost" },
|
||||
})
|
||||
|
||||
-- sign highlights
|
||||
vim.api.nvim_set_hl(0, "DapBreakpoint", { fg = "#e06c75" })
|
||||
vim.api.nvim_set_hl(0, "DapBreakpointCondition", { fg = "#e5c07b" })
|
||||
vim.api.nvim_set_hl(0, "DapBreakpointRejected", { fg = "#5c6370" })
|
||||
vim.api.nvim_set_hl(0, "DapStopped", { fg = "#98c379" })
|
||||
vim.api.nvim_set_hl(0, "DapStoppedLine", { bg = "#2e3b2e" })
|
||||
vim.api.nvim_set_hl(0, "DapLogPoint", { fg = "#61afef" })
|
||||
|
||||
-- gutter signs
|
||||
vim.fn.sign_define("DapBreakpoint", { text = "🔴", texthl = "DapBreakpoint" })
|
||||
vim.fn.sign_define("DapBreakpointCondition", { text = "🟡", texthl = "DapBreakpointCondition" })
|
||||
vim.fn.sign_define("DapBreakpointRejected", { text = "⭕", texthl = "DapBreakpointRejected" })
|
||||
vim.fn.sign_define("DapStopped", { text = "▶️", texthl = "DapStopped", linehl = "DapStoppedLine" })
|
||||
vim.fn.sign_define("DapLogPoint", { text = "📝", texthl = "DapLogPoint" })
|
||||
|
||||
-- global mappings — these work outside debug mode
|
||||
local keys = config.opts.keys
|
||||
if keys.breakpoint then
|
||||
|
||||
Reference in new issue
Block a user