From a5fa578241304b5ddfcc221cb46e0447bced521f Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Sun, 5 May 2024 21:40:13 +0200 Subject: [PATCH] update --- init.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/init.lua b/init.lua index 2a7e7c4..6b30642 100644 --- a/init.lua +++ b/init.lua @@ -193,6 +193,22 @@ vim.keymap.set('n', 'db', require("dap").toggle_breakpoint, {}) vim.keymap.set('n', 'dr', function() vim.cmd.RustLsp('debug') end, {}) +vim.fn.sign_define('DapBreakpoint', { + text = '', + texthl = 'DapBreakpoint', + linehl = 'DapBreakpoint', + numhl = + 'DapBreakpoint' +}) +vim.fn.sign_define('DapBreakpointCondition', + { text = 'ﳁ', texthl = 'DapBreakpoint', linehl = 'DapBreakpoint', numhl = 'DapBreakpoint' }) +vim.fn.sign_define('DapBreakpointRejected', + { text = '', texthl = 'DapBreakpoint', linehl = 'DapBreakpoint', numhl = 'DapBreakpoint' }) +vim.fn.sign_define('DapLogPoint', { text = '', texthl = 'DapLogPoint', linehl = 'DapLogPoint', numhl = 'DapLogPoint' }) +vim.fn.sign_define('DapStopped', { text = '', texthl = 'DapStopped', linehl = 'DapStopped', numhl = 'DapStopped' }) +vim.api.nvim_set_hl(0, 'DapBreakpoint', { ctermbg = 0, fg = '#993939', bg = '#31353f' }) +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' }) local builtin = require('telescope.builtin') vim.keymap.set('n', 'ff', builtin.find_files, {})