fix(grapple): update after grapple changes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
local function setup()
|
||||
local grapple = require("grapple")
|
||||
grapple.setup()
|
||||
vim.keymap.set("n", "<leader>'", grapple.popup_tags)
|
||||
vim.keymap.set("n", "<leader>'", grapple.toggle_tags)
|
||||
vim.keymap.set("n", "<leader>mm", function ()
|
||||
if grapple.exists() then
|
||||
grapple.untag()
|
||||
@@ -11,18 +11,18 @@ local function setup()
|
||||
end
|
||||
|
||||
for i = 1, 9 do
|
||||
local opts = { key = "m" .. i, }
|
||||
local opts = { name = "m" .. i, }
|
||||
if not grapple.exists(opts) then
|
||||
grapple.tag(opts)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
grapple.tag({ key = "m?", })
|
||||
grapple.tag({ name = "m?", })
|
||||
end)
|
||||
|
||||
for i = 1, 9 do
|
||||
local opts = { key = "m" .. i, }
|
||||
local opts = { name = "m" .. i, }
|
||||
|
||||
vim.keymap.set("n", "<leader>m" .. i, function ()
|
||||
grapple.tag(opts)
|
||||
|
||||
Reference in New Issue
Block a user