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", "chentoast/marks.nvim",
enabled = true, enabled = true,
event = "VeryLazy", event = "VeryLazy",
opts = { config = function()
builtin_marks = { ".", "<", ">", "^" }, 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,
} }