feat: automatic relative numbers

This commit is contained in:
2025-07-10 02:57:49 +03:00
parent 7fc2e5c543
commit 498aab443a

View File

@@ -0,0 +1,13 @@
return {
"cpea2506/relative-toggle.nvim",
event = "BufEnter",
config = function ()
require("relative-toggle").setup({
pattern = "*",
events = {
on = { "BufEnter", "FocusGained", "InsertLeave", "WinEnter", "CmdlineLeave" },
off = { "BufLeave", "FocusLost", "InsertEnter", "WinLeave", "CmdlineEnter" },
},
})
end
}