diff --git a/nvim/lua/configs/nvim-dap.lua b/nvim/lua/configs/nvim-dap.lua index 0cb3014..596b290 100644 --- a/nvim/lua/configs/nvim-dap.lua +++ b/nvim/lua/configs/nvim-dap.lua @@ -69,10 +69,17 @@ function M.setup() dapui.close({}) end - -- Настройка значков для точек останова :cite[1]:cite[10] - vim.fn.sign_define("DapBreakpoint", { text = "🔴", texthl = "LspDiagnosticsSignError" }) - vim.fn.sign_define("DapStopped", { text = "➡️", texthl = "LspDiagnosticsSignInformation" }) - vim.fn.sign_define("DapBreakpointRejected", { text = "❌", texthl = "LspDiagnosticsSignHint" }) + -- Настройка подсветки для точек останова (ИСПРАВЛЕННАЯ ВЕРСИЯ) + vim.api.nvim_set_hl(0, 'DapBreakpoint', { fg = '#993939', bg = '#31353f' }) + vim.api.nvim_set_hl(0, 'DapLogPoint', { fg = '#61afef', bg = '#31353f' }) + vim.api.nvim_set_hl(0, 'DapStopped', { fg = '#98c379', bg = '#31353f' }) + + -- Настройка значков (эта часть правильная) + 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' }) end return M diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index 25311d0..2c35d27 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -17,6 +17,11 @@ return { "machakann/vim-highlightedyank", event = "VeryLazy", }, + -- Icons + { + 'ryanoasis/vim-devicons', + event = "VeryLazy", + }, -- These are for C/C++ Debbuger { "nvim-neotest/nvim-nio",