Skip to content

Commit d589cd2

Browse files
author
Olivier Roques
committed
Return after calling user action function
Closes #28
1 parent 9c1a40b commit d589cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lspfuzzy.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ local function jump(entries)
7171

7272
if type(action) == 'function' then
7373
action(entries)
74-
action = nil
74+
return
7575
end
7676

7777
-- Use the quickfix list to store remaining locations

0 commit comments

Comments
 (0)