AutoYADM commit: 2024-12-18 18:25:04
This commit is contained in:
parent
f865dbb842
commit
ec90c943a1
1 changed files with 15 additions and 3 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue