Skip to content

Commit 612ee9b

Browse files
committed
fix: regression from 1f3e985 (fix #2624)
1 parent 54669c3 commit 612ee9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ function M.normalize_opts(opts, globals, __resume_key) ---@diagnostic disable
984984
end
985985

986986
-- set by git_{commits|diff|hunks} actions
987-
if opts["__pos_" .. utils.get_info().cmd] then
987+
if utils.get_info().cmd and opts["__pos_" .. utils.get_info().cmd] then
988988
opts.locate = opts.locate == nil and true or opts.locate
989989
opts.__locate_pos = opts.__locate_pos or opts["__pos_" .. utils.get_info().cmd]
990990
end

0 commit comments

Comments
 (0)