AutoYADM commit: 2024-12-12 21:45:04

This commit is contained in:
Daniel Fichtinger 2024-12-12 21:45:04 -05:00
parent 54ddc6e34e
commit 4980a45139

View file

@ -1,8 +1,10 @@
local prefix = "<leader>m" local prefix = "<leader>m"
local function fmt_prefix(mappings) local function fmt_prefix(mappings)
local out = {}
for k, v in pairs(mappings) do for k, v in pairs(mappings) do
mappings[k] = prefix .. v out[k] = prefix .. v
end end
return out
end end
local opts = { local opts = {
force_mappings = { force_mappings = {
@ -27,13 +29,14 @@ local opts = {
}, },
}, },
} }
print(vim.inspect(opts.force_mappings.nv.motions)) -- print(vim.inspect(opts.force_mappings.nv.motions))
return { return {
"LeonHeidelbach/trailblazer.nvim", "LeonHeidelbach/trailblazer.nvim",
-- config = function() config = function()
-- require("which-key").add({ require("which-key").add({
-- { "<leader>m", group = "Trailblazer" }, { "<leader>m", group = "Trailblazer" },
-- }) })
-- require("trailblazer").setup(opts) require("trailblazer").setup(opts)
-- end, -- print(vim.inspect(opts.force_mappings.nv.motions))
end,
} }