From c1c36ee21c851ba0bd31c323b45013790f6d2b21 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 29 Mar 2024 15:43:28 -0400 Subject: [PATCH] [wip] nvim: add better symbols for dap-ui --- src/.config/nvim/lua/debugging.lua | 10 ++++++++++ src/.config/nvim/lua/theme.lua | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/.config/nvim/lua/debugging.lua b/src/.config/nvim/lua/debugging.lua index 1ce5cbc..5a2fa53 100644 --- a/src/.config/nvim/lua/debugging.lua +++ b/src/.config/nvim/lua/debugging.lua @@ -80,6 +80,10 @@ dapui.setup({ }, }) +---------------- +-- hooks +---------------- + dap.listeners.after.launch.dapui_config = function() dapui.open() end @@ -93,6 +97,12 @@ dap.listeners.after.event_exited.dapui_config = function() dapui.close() end +---------------- +-- signs +---------------- + +vim.cmd [[ sign define DapBreakpoint text=● ]] +vim.cmd [[ sign define DapBreakpointCondition text=◒ ]] -------------------------------- -------------------------------- diff --git a/src/.config/nvim/lua/theme.lua b/src/.config/nvim/lua/theme.lua index df659b5..8296d87 100644 --- a/src/.config/nvim/lua/theme.lua +++ b/src/.config/nvim/lua/theme.lua @@ -55,6 +55,8 @@ for _, v in ipairs({"Error", "Info", "Hint", "Warn"}) do end -- DAP-ui colors + +Group.new("debugPC", primary, colors.noir_8) Group.new("DapUIModifiedValue", primary, nil, styles.bold) Group.new("DapUIWatchesEmpty", colors.noir_8, nil, nil) Group.new("DapUIWatchesError", colors.diff_delete, nil, nil)