feat: move nvim configs to separate directory

This commit is contained in:
hhhh hgfh 2025-10-12 18:22:08 +03:00
parent fd9723504f
commit 46dc4bc8a1
13 changed files with 0 additions and 0 deletions

7
nvim/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,
})