Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 3a72e33

Browse files
committed
fix small issue with jumping to previous location
1 parent dd6e3ba commit 3a72e33

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lua/jumpLoc.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ function M.get_prev_loc()
4040
return i
4141
end
4242
end
43-
44-
return -1
43+
return #M.location
4544
end
4645

4746
function jumpToLocation(i)

0 commit comments

Comments
 (0)