diff --git a/src/version.c b/src/version.c index 54370d3eb2..2161bb9b35 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2683, /**/ 2682, /**/ diff --git a/src/vim9script.c b/src/vim9script.c index a72ef55095..2f2f2dce67 100644 --- a/src/vim9script.c +++ b/src/vim9script.c @@ -31,6 +31,7 @@ in_vim9script(void) || (cmdmod.cmod_flags & CMOD_VIM9CMD); } +#if defined(FEAT_EVAL) || defined(PROTO) /* * Return TRUE if the current script is Vim9 script. * This also returns TRUE in a legacy function in a Vim9 script. @@ -42,6 +43,7 @@ current_script_is_vim9(void) && SCRIPT_ITEM(current_sctx.sc_sid)->sn_version == SCRIPT_VERSION_VIM9; } +#endif /* * ":vim9script".