aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorYasuhiro Matsumoto2021-11-17 00:49:12 +0900
committerYasuhiro Matsumoto2021-11-17 00:49:12 +0900
commitc95106192a9de3879292a570d7b8b9486075738b (patch)
treed27255f033d237ee4decb2ab38c63ea22da62fc0
parent2498ddde2bf895fa1e4b3d562df00ce97e146b54 (diff)
downloadctrlp.vim-unescape-path.tar.gz

Fix #138

unescape-path
-rw-r--r--autoload/ctrlp.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim
index 60c18ce..3d57546 100644
--- a/autoload/ctrlp.vim
+++ b/autoload/ctrlp.vim
@@ -428,7 +428,7 @@ endf
if has('patch-8.2-0995')
fu! s:GlobPath(dirs, depth)
let entries = []
- let dirs = substitute(a:dirs, '\\\([%#]\)', '\1', 'g')
+ let dirs = substitute(a:dirs, '\\\([%# ]\)', '\1', 'g')
for e in split(dirs, ',')
sil let files = readdir(e, '1', {'sort': 'none'})
if !s:showhidden | cal filter(files, 'v:val[0] != "."') | en