From: Bram Moolenaar Date: Thu, 2 Mar 2017 22:05:51 +0000 (+0100) Subject: patch 8.0.0402: :map completion does not have X-Git-Tag: v8.0.0402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf5fdf7d1689ecb145b634dcb9c6e9fc60f63869;p=vim patch 8.0.0402: :map completion does not have Problem: :map completion does not have . (Dominique Pelle) Solution: Recognize in completion. Add a test. --- diff --git a/src/getchar.c b/src/getchar.c index 9583d9a8f..3a1760f39 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -4216,6 +4216,11 @@ set_context_in_map_cmd( arg = skipwhite(arg + 8); continue; } + if (STRNCMP(arg, "", 9) == 0) + { + arg = skipwhite(arg + 9); + continue; + } #ifdef FEAT_EVAL if (STRNCMP(arg, "