Fix color of line when stopped at breakpoint

This commit is contained in:
Marco 2023-11-26 21:58:37 +01:00
parent a9dd6009be
commit b9ed19c289

View File

@ -14,3 +14,19 @@ end
vim.keymap.set('n', '<F4>', function() dapui.close() end)
vim.keymap.set('n', '<M-k>', function() dapui.eval() end)
vim.api.nvim_set_hl(0, 'DapLogPoint', { ctermbg = 0, fg = '#61afef', bg = '#31353f' })
vim.api.nvim_set_hl(0, 'DapStopped', { ctermbg = 0, fg = '#98c379', bg = '#31353f' })
vim.fn.sign_define('DapBreakpoint',
{
texthl = 'DapBreakpointSymbol',
linehl = 'DapBreakpoint',
numhl = 'DapBreakpoint'
})
vim.fn.sign_define('DapStopped',
{
texthl = 'DapStoppedSymbol',
linehl = 'DapStopped',
numhl = 'DapStopped'
})