feat: update settings for nvim

This commit is contained in:
hhhh hgfh 2025-10-22 01:25:34 +03:00
parent be08f1593d
commit c1de9ef4ff
2 changed files with 16 additions and 4 deletions

View file

@ -69,10 +69,17 @@ function M.setup()
dapui.close({}) dapui.close({})
end end
-- Настройка значков для точек останова :cite[1]:cite[10] -- Настройка подсветки для точек останова (ИСПРАВЛЕННАЯ ВЕРСИЯ)
vim.fn.sign_define("DapBreakpoint", { text = "🔴", texthl = "LspDiagnosticsSignError" }) vim.api.nvim_set_hl(0, 'DapBreakpoint', { fg = '#993939', bg = '#31353f' })
vim.fn.sign_define("DapStopped", { text = "➡️", texthl = "LspDiagnosticsSignInformation" }) vim.api.nvim_set_hl(0, 'DapLogPoint', { fg = '#61afef', bg = '#31353f' })
vim.fn.sign_define("DapBreakpointRejected", { text = "❌", texthl = "LspDiagnosticsSignHint" }) 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 end
return M return M

View file

@ -17,6 +17,11 @@ return {
"machakann/vim-highlightedyank", "machakann/vim-highlightedyank",
event = "VeryLazy", event = "VeryLazy",
}, },
-- Icons
{
'ryanoasis/vim-devicons',
event = "VeryLazy",
},
-- These are for C/C++ Debbuger -- These are for C/C++ Debbuger
{ {
"nvim-neotest/nvim-nio", "nvim-neotest/nvim-nio",