Commit Graph

4 Commits

Author SHA1 Message Date
Florian Bruhin
2cb277afd7 Fix exception messages in Command
The messages weren't updated in ac78039171.
2018-12-04 16:30:01 +01:00
Florian Bruhin
71f9c5d206 Fix handling of annotated varargs in commands
When we have something like "*values: str" in :config-cycle, we get a list of
values, but the type converter assumes it's a string.

We could implement proper conversion of *args, but for now, let's just make
sure it's always a string.
2018-12-03 15:55:04 +01:00
Florian Bruhin
569bb0fa09 Add cmdutils.Value instead of using count=True/win_id=True 2018-11-30 12:45:01 +01:00
Florian Bruhin
b7de287e7b Move CommandError to api.cmdutils 2018-11-29 14:18:11 +01:00