Skip to content

Commit

Permalink
fix: aerial.prev with no arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Oct 23, 2022
1 parent 1bdaaac commit 93c6ceb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/aerial/navigation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,8 @@ M.up = function(direction, count)
end

M.prev = function(step)
if step then
step = -1 * step
end
M.next(step)
step = step or 1
M.next(-1 * step)
end

M.next = function(step)
Expand Down

0 comments on commit 93c6ceb

Please sign in to comment.