mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-16 11:00:23 +00:00
Remove debug statements.
This commit is contained in:
parent
c82d3d5e3d
commit
9ff11a310a
@ -171,7 +171,6 @@ end
|
|||||||
|
|
||||||
function HarpoonList:next()
|
function HarpoonList:next()
|
||||||
self._index = self._index + 1
|
self._index = self._index + 1
|
||||||
print(self._index)
|
|
||||||
if self._index > #self.items and self.config.harpoon_wrap then
|
if self._index > #self.items and self.config.harpoon_wrap then
|
||||||
self._index = 1
|
self._index = 1
|
||||||
elseif self._index > #self.items and not self.config.harpoon_wrap then
|
elseif self._index > #self.items and not self.config.harpoon_wrap then
|
||||||
@ -183,7 +182,6 @@ end
|
|||||||
|
|
||||||
function HarpoonList:prev()
|
function HarpoonList:prev()
|
||||||
self._index = self._index - 1
|
self._index = self._index - 1
|
||||||
print(self._index)
|
|
||||||
if self._index < 1 and self.config.harpoon_wrap then
|
if self._index < 1 and self.config.harpoon_wrap then
|
||||||
self._index = #self.items
|
self._index = #self.items
|
||||||
elseif self._index < 1 and not self.config.harpoon_wrap then
|
elseif self._index < 1 and not self.config.harpoon_wrap then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user