summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-10 17:34:35 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-10 17:34:35 +0200
commitc168bd4bd3a9b856fc410fc4515dcca1d10d7461 (patch)
tree03b405fbbad695745400ace91e3d1a0ed8275364 /runtime
parent414168d97fad45387a3d7dd16449d15b27079ad8 (diff)
downloadvim-git-c168bd4bd3a9b856fc410fc4515dcca1d10d7461.tar.gz
patch 8.0.1089: cannot get range count in user commandv8.0.1089
Problem: Cannot get range count in user command. Solution: Add <range> argument.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/map.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 983fb2db4..f6bcde237 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -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).