patch 8.0.1089: cannot get range count in user command

Problem:    Cannot get range count in user command.
Solution:   Add <range> argument.
This commit is contained in:
Bram Moolenaar
2017-09-10 17:34:35 +02:00
parent 414168d97f
commit c168bd4bd3
3 changed files with 23 additions and 4 deletions

View File

@ -1415,6 +1415,8 @@ The valid escape sequences are
<line1> The starting line of the command range.
*<line2>*
<line2> The final line of the command range.
*<range>*
<range> The number of items in the command range: 0, 1 or 2
*<count>*
<count> Any count supplied (as described for the '-range'
and '-count' attributes).