diff --git a/src/eval.c b/src/eval.c index 69be2af772..06d2600b0c 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3777,7 +3777,7 @@ eval_index( { range = TRUE; ++*arg; - if (!IS_WHITE_OR_NUL(**arg) && **arg != ']') + if (vim9 && !IS_WHITE_OR_NUL(**arg) && **arg != ']') { semsg(_(e_white_space_required_before_and_after_str), ":"); if (!empty1) diff --git a/src/version.c b/src/version.c index a74a5d98c2..f080e68669 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 */ +/**/ + 2251, /**/ 2250, /**/