aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-09 08:18:07 +0800
committerGitHub <noreply@github.com>2022-12-09 08:18:07 +0800
commitae5980ec797381cbaee7398a656bdb233f951981 (patch)
tree40f1765f919fa1267544ba5e27a04f9e9eeceaf5 /src/nvim/cmdexpand.c
parent8b3412636a1027eaa14a95211efb449b58e9a01e (diff)
parent98dc445767875acd0e1d24ee5c864c18247be29f (diff)
downloadrneovim-ae5980ec797381cbaee7398a656bdb233f951981.tar.gz
rneovim-ae5980ec797381cbaee7398a656bdb233f951981.tar.bz2
rneovim-ae5980ec797381cbaee7398a656bdb233f951981.zip
Merge pull request #21350 from zeertzjq/vim-8.2.4366
vim-patch:8.2.{4366,4376}: cmdline completion tests
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index ca732c6cd9..933ad93964 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -103,6 +103,7 @@ static int 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, char_u *str, int numfiles, char **files, int options)
{
int i;