Skip to content

Instantly share code, notes, and snippets.

@k-takata
Created September 15, 2016 11:31
Show Gist options
  • Save k-takata/190f4be423d759ef8ac900eadf6350c2 to your computer and use it in GitHub Desktop.
Save k-takata/190f4be423d759ef8ac900eadf6350c2 to your computer and use it in GitHub Desktop.
Vim 8.0.3: spaces after a function argument cause error
diff --git a/src/userfunc.c b/src/userfunc.c
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -147,6 +147,7 @@ get_function_args(
*p = c;
}
+ p = skipwhite(p);
if (*p == ',')
++p;
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment