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:
zeertzjq
2023-11-09 15:17:53 +08:00
parent 610f50ddaf
commit a4b80c71ea
7 changed files with 22 additions and 6 deletions

View File

@@ -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,
}