@@ -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