summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-18 20:51:35 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-18 20:51:35 +0000
commita9528b39a666dbaa026320f73bae4b1628a7fe51 (patch)
tree21446ca5d8a32259cbe8c6656175791ccac03b83 /runtime
parent94075b2b0e8e3b75334799d2c082497fbf85ffa1 (diff)
downloadvim-git-a9528b39a666dbaa026320f73bae4b1628a7fe51.tar.gz
patch 8.2.4140: maparg() does not indicate the type of scriptv8.2.4140
Problem: maparg() does not indicate the type of script where it was defined. Solution: Add "scriptversion".
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 3850b3860..403f592fc 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5247,6 +5247,8 @@ maparg({name} [, {mode} [, {abbr} [, {dict}]]]) *maparg()*
(|mapmode-ic|)
"sid" The script local ID, used for <sid> mappings
(|<SID>|).
+ "scriptversion" The version of the script. 999999 for
+ |Vim9| script.
"lnum" The line number in "sid", zero if unknown.
"nowait" Do not wait for other, longer mappings.
(|:map-<nowait>|).