diff runtime/doc/map.txt @ 12419:d216d9e8ac57 v8.0.1089

patch 8.0.1089: cannot get range count in user command commit https://github.com/vim/vim/commit/c168bd4bd3a9b856fc410fc4515dcca1d10d7461 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 10 17:34:35 2017 +0200 patch 8.0.1089: cannot get range count in user command Problem: Cannot get range count in user command. Solution: Add <range> argument.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Sep 2017 17:45:04 +0200
parents 7df3dd3c0ac1
children dfb8254aa735
line wrap: on
line diff
--- 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).