AutoYADM commit: 2024-12-18 18:25:04

This commit is contained in:
Daniel Fichtinger 2024-12-18 18:25:04 -05:00
parent f865dbb842
commit ec90c943a1

View file

@ -2,7 +2,19 @@ return {
"chentoast/marks.nvim",
enabled = true,
event = "VeryLazy",
opts = {
builtin_marks = { ".", "<", ">", "^" },
},
config = function()
local function fmt_prefix(prefix, mappings)
local out = {}
for k, v in pairs(mappings) do
out[k] = prefix .. v[1]
require("which-key").add({ out[k], desc = v[2] })
end
return out
end
local opts = {
builtin_marks = { ".", "<", ">", "^" },
mappings = {},
}
require("marks").setup(opts)
end,
}