Skip to content

Commit 5ebbcf3

Browse files
jay-babuUzaaft
andauthored
feat(fuzzy-finder): use jump1 as jump_to_single_result is deprecated (#1371)
* feat(fuzzy-finder): use jump1 as jump_to_single_result is deprecated ibhagwan/fzf-lua@7cede18 * chore: Format file --------- Co-authored-by: Uzair Aftab <[email protected]>
1 parent baaaef1 commit 5ebbcf3

File tree

1 file changed

+1
-3
lines changed
  • lua/astrocommunity/fuzzy-finder/fzf-lua

1 file changed

+1
-3
lines changed

lua/astrocommunity/fuzzy-finder/fzf-lua/init.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ return {
1313
local maps = opts.mappings
1414
maps.n["<Leader>lD"] =
1515
{ function() require("fzf-lua").diagnostics_workspace() end, desc = "Search diagnostics" }
16-
if maps.n.gd then
17-
maps.n.gd[1] = function() require("fzf-lua").lsp_definitions { jump_to_single_result = true } end
18-
end
16+
if maps.n.gd then maps.n.gd[1] = function() require("fzf-lua").lsp_definitions { jump1 = true } end end
1917
if maps.n.gI then maps.n.gI[1] = function() require("fzf-lua").lsp_implementations() end end
2018
if maps.n["<Leader>lR"] then maps.n["<Leader>lR"][1] = function() require("fzf-lua").lsp_references() end end
2119
if maps.n.gy then maps.n.gy[1] = function() require("fzf-lua").lsp_typedefs() end end

0 commit comments

Comments
 (0)