[wip] nvim: add better symbols for dap-ui

This commit is contained in:
dogeystamp 2024-03-29 15:43:28 -04:00
parent 208b18723b
commit c1c36ee21c
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 12 additions and 0 deletions

View File

@ -80,6 +80,10 @@ dapui.setup({
}, },
}) })
----------------
-- hooks
----------------
dap.listeners.after.launch.dapui_config = function() dap.listeners.after.launch.dapui_config = function()
dapui.open() dapui.open()
end end
@ -93,6 +97,12 @@ dap.listeners.after.event_exited.dapui_config = function()
dapui.close() dapui.close()
end end
----------------
-- signs
----------------
vim.cmd [[ sign define DapBreakpoint text=● ]]
vim.cmd [[ sign define DapBreakpointCondition text=◒ ]]
-------------------------------- --------------------------------
-------------------------------- --------------------------------

View File

@ -55,6 +55,8 @@ for _, v in ipairs({"Error", "Info", "Hint", "Warn"}) do
end end
-- DAP-ui colors -- DAP-ui colors
Group.new("debugPC", primary, colors.noir_8)
Group.new("DapUIModifiedValue", primary, nil, styles.bold) Group.new("DapUIModifiedValue", primary, nil, styles.bold)
Group.new("DapUIWatchesEmpty", colors.noir_8, nil, nil) Group.new("DapUIWatchesEmpty", colors.noir_8, nil, nil)
Group.new("DapUIWatchesError", colors.diff_delete, nil, nil) Group.new("DapUIWatchesError", colors.diff_delete, nil, nil)