summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-02-13 11:45:09 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-13 11:45:09 +0000
commit4d03d870007c593bce2cfa8d0a6597ca3a20fa35 (patch)
tree07ccedf0699f3c0fa7eb8137156b02ede1b8c6f6 /src/cmdexpand.c
parentcdf04859699bdde891b5b52ea821d0bebd7e8ee0 (diff)
patch 8.2.4366: not enough tests for command line completionv8.2.4366
Problem: Not enough tests for command line completion. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 8e950ab9b4..2a65a0691e 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -50,6 +50,9 @@ sort_func_compare(const void *s1, const void *s2)
return STRCMP(p1, p2);
}
+/*
+ * Escape special characters in the cmdline completion matches.
+ */
static void
ExpandEscape(
expand_T *xp,