From cf5fdf7d1689ecb145b634dcb9c6e9fc60f63869 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Mar 2017 23:05:51 +0100 Subject: patch 8.0.0402: :map completion does not have Problem: :map completion does not have . (Dominique Pelle) Solution: Recognize in completion. Add a test. --- src/getchar.c | 9 ++++++++- src/testdir/test_cmdline.vim | 20 ++++++++++++++++++++ src/version.c | 2 ++ 3 files changed, 30 insertions(+), 1 deletion(-) 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, "