mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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".
a9528b39a6
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
1
runtime/lua/vim/_meta/vimfn.lua
generated
1
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -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>|).
|
||||
|
||||
Reference in New Issue
Block a user