Skip to content

Commit

Permalink
fix(grug-far-nvim): update deprecated function to new name
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Sep 19, 2024
1 parent aa3ddb8 commit 323743a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/astrocommunity/search/grug-far-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ return {
local maps, prefix = opts.mappings, "<Leader>r"

maps.n[prefix] = {
function() require("grug-far").grug_far { transient = true } end,
function() require("grug-far").open { transient = true } end,
desc = require("astroui").get_icon("GrugFar", 1, true) .. "Search and Replace",
}

maps.x[prefix] = {
function() require("grug-far").grug_far { transient = true, startCursorRow = 4 } end,
function() require("grug-far").open { transient = true, startCursorRow = 4 } end,
desc = require("astroui").get_icon("GrugFar", 1, true) .. "Search and Replace (current word)",
}
end,
Expand Down

0 comments on commit 323743a

Please sign in to comment.