Remove maxsplit from edit_command.

This was a copy-paste typo, no need for maxsplit as this command takes
no positional args.
This commit is contained in:
Ryan Roden-Corrent 2017-11-18 20:41:23 -05:00
parent 0f93d53210
commit d145b304d0

View File

@ -166,7 +166,7 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
modeman.leave(self._win_id, usertypes.KeyMode.command, 'cmd accept')
self.got_cmd[str].emit(prefixes[text[0]] + text[1:])
@cmdutils.register(instance='status-command', scope='window', maxsplit=0)
@cmdutils.register(instance='status-command', scope='window')
def edit_command(self, run=False):
"""Open an editor to modify the current command.