feat: complete settings for NeoVim with NvChad and C/C++ Debbuger
This commit is contained in:
commit
fd9723504f
13 changed files with 361 additions and 0 deletions
7
lua/custom/init.lua
Normal file
7
lua/custom/init.lua
Normal 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,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue