init: initial commit

This commit is contained in:
ITQ
2026-03-08 16:23:50 +03:00
commit 02476899b4
22 changed files with 2257 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
local augroup = vim.api.nvim_create_augroup
-- highlight on yank
vim.api.nvim_create_autocmd("TextYankPost", {
group = augroup("YankHighlight", { clear = true }),
callback = function()
vim.highlight.on_yank({ timeout = 200 })
end,
})
-- optional: auto format on save (handled by conform too, but this is a safe place for extra logic later)