1
0
forked from aniani/vim

patch 8.2.2699: Lua test fails

Problem:    Lua test fails.
Solution:   Fix condition. (Yegappan Lakshmanan, closes #8060)
This commit is contained in:
Bram Moolenaar
2021-04-03 17:18:52 +02:00
parent b9c6b6fb73
commit c48f2dc0be
2 changed files with 3 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ if len(s:luaver) < 3
endif endif
let s:major = str2nr(s:luaver[0]) let s:major = str2nr(s:luaver[0])
let s:minor = str2nr(s:luaver[1]) let s:minor = str2nr(s:luaver[1])
if len(s:luaver >= 3) if len(s:luaver) >= 3
let s:patch = str2nr(s:luaver[2]) let s:patch = str2nr(s:luaver[2])
else else
let s:patch = 0 let s:patch = 0

View File

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