Skip to content

Commit 54fb2c8

Browse files
authored
Update debug.lua
1 parent 34e7d29 commit 54fb2c8

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

lua/kickstart/plugins/debug.lua

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -104,33 +104,24 @@ return {
104104
-- Set icons to characters that are more likely to work in every terminal.
105105
-- Feel free to remove or use ones that you like more! :)
106106
-- Don't feel like these are good choices.
107-
icons = { expanded = '', collapsed = '', current_frame = '*' },
108107
controls = {
109108
icons = {
109+
disconnect = '',
110110
pause = '',
111-
play = '',
112-
step_into = '',
113-
step_over = '',
114-
step_out = '',
111+
play = '',
112+
run_last = '',
115113
step_back = 'b',
116-
run_last = '▶▶',
117-
terminate = '',
118-
disconnect = '',
114+
step_into = '',
115+
step_over = '',
116+
step_out = '',
117+
terminate = '',
119118
},
120119
},
121120
}
122121

123122
-- Change breakpoint icons
124-
-- vim.api.nvim_set_hl(0, 'DapBreak', { fg = '#e51400' })
125-
-- vim.api.nvim_set_hl(0, 'DapStop', { fg = '#ffcc00' })
126-
-- local breakpoint_icons = vim.g.have_nerd_font
127-
-- and { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
128-
-- or { Breakpoint = '●', BreakpointCondition = '⊜', BreakpointRejected = '⊘', LogPoint = '◆', Stopped = '⭔' }
129-
-- for type, icon in pairs(breakpoint_icons) do
130-
-- local tp = 'Dap' .. type
131-
-- local hl = (type == 'Stopped') and 'DapStop' or 'DapBreak'
132-
-- vim.fn.sign_define(tp, { text = icon, texthl = hl, numhl = hl })
133-
-- end
123+
vim.fn.sign_define('DapStopped', { text = '', texthl = 'DiagnosticInfo' })
124+
vim.fn.sign_define('DapBreakpoint', { text = '', texthl = 'DiagnosticError' })
134125

135126
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
136127
dap.listeners.before.event_terminated['dapui_config'] = dapui.close

0 commit comments

Comments
 (0)