mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +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:
@@ -26,6 +26,7 @@ describe('maparg()', function()
|
||||
rhs='bar',
|
||||
expr=0,
|
||||
sid=0,
|
||||
scriptversion=1,
|
||||
buffer=0,
|
||||
nowait=0,
|
||||
mode='n',
|
||||
@@ -157,8 +158,9 @@ describe('maparg()', function()
|
||||
mode = 'n',
|
||||
noremap = 1,
|
||||
nowait = 0,
|
||||
script=0,
|
||||
script = 0,
|
||||
sid = 0,
|
||||
scriptversion = 1,
|
||||
silent = 0,
|
||||
lnum = 0,
|
||||
}
|
||||
|
Reference in New Issue
Block a user