# HG changeset patch # User Bram Moolenaar # Date 1608909303 -3600 # Node ID 8e0d6f355a5a10be5ccddc34a7643e9e6a7c020f # Parent 8dd52102986c71c14230e088c30f25f32838dbee patch 8.2.2213: checking white space around -> is not backwards compatible Commit: https://github.com/vim/vim/commit/7cfcd0c99c485a973d8cbff939531e430ad77f55 Author: Bram Moolenaar Date: Fri Dec 25 16:11:53 2020 +0100 patch 8.2.2213: checking white space around -> is not backwards compatible Problem: Checking white space around -> is not backwards compatible. Solution: Only check white space around =>. diff --git a/src/userfunc.c b/src/userfunc.c --- a/src/userfunc.c +++ b/src/userfunc.c @@ -570,7 +570,7 @@ get_lambda_tv( &varargs, NULL, FALSE, NULL, NULL); if (ret == FAIL || (s = skip_arrow(*arg, equal_arrow, &ret_type, - &white_error)) == NULL) + equal_arrow ? &white_error : NULL)) == NULL) { if (types_optional) ga_clear_strings(&argtypes); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2213, +/**/ 2212, /**/ 2211,