Skip to content

Commit

Permalink
fix: Properly pass options into jump function (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
isak102 authored Oct 14, 2022
1 parent 8df75db commit 96391ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/todo-comments/jump.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ local function jump(up, opts)
util.warn("No more todo comments to jump to")
end

function M.next()
jump(false)
function M.next(opts)
jump(false, opts)
end
function M.prev()
jump(true)
function M.prev(opts)
jump(true, opts)
end

return M

0 comments on commit 96391ae

Please sign in to comment.