aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-09 06:12:13 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-12-09 07:52:50 +0800
commit41282259ba0d0e4ae97caa4c6e77095b1d935e80 (patch)
tree5fbaafe3227a83d575a5df99e1b25ad001395258 /src/nvim/cmdexpand.c
parent8b3412636a1027eaa14a95211efb449b58e9a01e (diff)
downloadrneovim-41282259ba0d0e4ae97caa4c6e77095b1d935e80.tar.gz
rneovim-41282259ba0d0e4ae97caa4c6e77095b1d935e80.tar.bz2
rneovim-41282259ba0d0e4ae97caa4c6e77095b1d935e80.zip
vim-patch:8.2.4366: not enough tests for command line completion
Problem: Not enough tests for command line completion. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#9760) https://github.com/vim/vim/commit/4d03d870007c593bce2cfa8d0a6597ca3a20fa35 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
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;