Style fix.
This commit is contained in:
parent
6e8ac374dd
commit
eeadeb400c
@ -900,8 +900,9 @@ class CommandDispatcher:
|
||||
new_idx = self._current_index() - delta
|
||||
elif direction == '+': # pragma: no branch
|
||||
new_idx = self._current_index() + delta
|
||||
|
||||
if config.get('tabs', 'wrap'):
|
||||
new_idx = new_idx % self._count()
|
||||
new_idx %= self._count()
|
||||
else: # pragma: no cover
|
||||
raise ValueError("Invalid direction '{}'!".format(direction))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user