1
0
forked from aniani/vim

patch 8.2.2921: E704 for script local variable is not backwards compatible

Problem:    E704 for script local variable is not backwards compatible.
            (Yasuhiro Matsumoto)
Solution:   Only give the error in Vim9 script.  Also check for function-local
            variable.
This commit is contained in:
Bram Moolenaar
2021-06-02 11:49:23 +02:00
parent 6f1d2aa437
commit b54abeeafb
3 changed files with 13 additions and 4 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2921,
/**/
2920,
/**/