mypy: Fix type for :scroll
This commit is contained in:
parent
b63ed090d8
commit
08bd47bc16
@ -681,7 +681,7 @@ class CommandDispatcher:
|
||||
|
||||
@cmdutils.register(instance='command-dispatcher', scope='window')
|
||||
@cmdutils.argument('count', count=True)
|
||||
def scroll(self, direction: typing.Union[str, int], count=1):
|
||||
def scroll(self, direction: str, count=1):
|
||||
"""Scroll the current tab in the given direction.
|
||||
|
||||
Note you can use `:run-with-count` to have a keybinding with a bigger
|
||||
|
Loading…
Reference in New Issue
Block a user