From a9528b39a666dbaa026320f73bae4b1628a7fe51 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 18 Jan 2022 20:51:35 +0000 Subject: patch 8.2.4140: maparg() does not indicate the type of script Problem: maparg() does not indicate the type of script where it was defined. Solution: Add "scriptversion". --- runtime/doc/builtin.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime') 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 mappings (||). + "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-|). -- cgit v1.2.1