diff --git a/after/plugin/dap/nvim-dap-ui.lua b/after/plugin/dap/nvim-dap-ui.lua index f876754..75a80da 100644 --- a/after/plugin/dap/nvim-dap-ui.lua +++ b/after/plugin/dap/nvim-dap-ui.lua @@ -2,15 +2,31 @@ require("dapui").setup() local dap, dapui = require("dap"), require("dapui") dap.listeners.after.event_initialized["dapui_config"] = function() - dapui.open() + dapui.open() end dap.listeners.before.event_terminated["dapui_config"] = function() - -- We do not close on this event, but only when we press F4 - --dapui.close() + -- We do not close on this event, but only when we press F4 + --dapui.close() end dap.listeners.before.event_exited["dapui_config"] = function() - dapui.close() + dapui.close() end vim.keymap.set('n', '', function() dapui.close() end) vim.keymap.set('n', '', 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' + })