aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-09 15:17:53 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-09 21:34:02 +0800
commita4b80c71eae09a5f6f76bce46be46efd247c7223 (patch)
treedb275a3fd8a09de50c87f986e357a3951da445e7 /runtime/lua/vim/_meta/vimfn.lua
parent610f50ddaff260e2e2f7236f6a3982ee7554c2a6 (diff)
downloadrneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.tar.gz
rneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.tar.bz2
rneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.zip
vim-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". https://github.com/vim/vim/commit/a9528b39a666dbaa026320f73bae4b1628a7fe51 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 0563f9dd5f..817841eb46 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -5041,6 +5041,7 @@ function vim.fn.map(expr1, expr2) end
--- (|mapmode-ic|)
--- "sid" The script local ID, used for <sid> mappings
--- (|<SID>|). Negative for special contexts.
+--- "scriptversion" The version of the script, always 1.
--- "lnum" The line number in "sid", zero if unknown.
--- "nowait" Do not wait for other, longer mappings.
--- (|:map-<nowait>|).