Skip to content

Commit 2e55899

Browse files
committed
Change dap icons
1 parent d5f83bd commit 2e55899

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lua/kickstart/plugins/debug.lua

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@ return {
111111
}
112112

113113
-- Change breakpoint icons
114-
-- vim.api.nvim_set_hl(0, 'DapBreak', { fg = '#e51400' })
115-
-- vim.api.nvim_set_hl(0, 'DapStop', { fg = '#ffcc00' })
116-
-- local breakpoint_icons = vim.g.have_nerd_font
117-
-- and { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
118-
-- or { Breakpoint = '●', BreakpointCondition = '⊜', BreakpointRejected = '⊘', LogPoint = '◆', Stopped = '⭔' }
119-
-- for type, icon in pairs(breakpoint_icons) do
120-
-- local tp = 'Dap' .. type
121-
-- local hl = (type == 'Stopped') and 'DapStop' or 'DapBreak'
122-
-- vim.fn.sign_define(tp, { text = icon, texthl = hl, numhl = hl })
123-
-- end
114+
vim.api.nvim_set_hl(0, 'DapBreak', { fg = '#e51400' })
115+
vim.api.nvim_set_hl(0, 'DapStop', { fg = '#ffcc00' })
116+
local breakpoint_icons = vim.g.have_nerd_font
117+
and { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
118+
or { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
119+
for type, icon in pairs(breakpoint_icons) do
120+
local tp = 'Dap' .. type
121+
local hl = (type == 'Stopped') and 'DapStop' or 'DapBreak'
122+
vim.fn.sign_define(tp, { text = icon, texthl = hl, numhl = hl })
123+
end
124124

125125
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
126126
dap.listeners.before.event_terminated['dapui_config'] = dapui.close

0 commit comments

Comments
 (0)