1
0
forked from aniani/vim

patch 9.1.0761: :cd completion fails on Windows with backslash in path

Problem:  :cd completion fails on Windows with backslash in path
Solution: switch no_bslash argument to FALSE in file_pat_to_reg_pat()

Note: only fixes the problem on Windows. For Unix, we still need to
escape backslashes since those are taken as regex atoms (and could be
invalid regex atoms).

fixes: #15643
closes: #15808

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-10-06 16:34:20 +02:00
parent d4ad4c9b3e
commit 1a31c430bb
4 changed files with 16 additions and 1 deletions

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
761,
/**/
760,
/**/