feat: complete settings for NeoVim with NvChad and C/C++ Debbuger

This commit is contained in:
hhhh hgfh 2025-10-12 12:34:31 +03:00
commit fd9723504f
13 changed files with 361 additions and 0 deletions

7
lua/custom/init.lua Normal file
View file

@ -0,0 +1,7 @@
-- форматирование при сохранении для C/C++
vim.api.nvim_create_autocmd("BufWritePre", {
pattern = { "*.c", "*.cpp", "*.h", "*.hpp" },
callback = function()
vim.lsp.buf.format()
end,
})