diff options
-rw-r--r-- | plugin/vim-recently-used.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/vim-recently-used.vim b/plugin/vim-recently-used.vim index c5570fd..ecd8cb9 100644 --- a/plugin/vim-recently-used.vim +++ b/plugin/vim-recently-used.vim | |||
@@ -14,8 +14,8 @@ command! RecentlyUsed call setloclist(0, []) | |||
14 | \ 'title':'Recently used files in directory: '.getcwd(), | 14 | \ 'title':'Recently used files in directory: '.getcwd(), |
15 | \ 'items':sort(map(filter(filter(mapnew(v:oldfiles[:100], | 15 | \ 'items':sort(map(filter(filter(mapnew(v:oldfiles[:100], |
16 | \ {_, p->fnamemodify(p,':p')}), | 16 | \ {_, p->fnamemodify(p,':p')}), |
17 | \ "fnamemodify(v:val, ':h') ==# \'" . | 17 | \ "fnamemodify(v:val, ':h') =~? \'" . |
18 | \ getcwd()->fnamemodify(':p:h')."\'"), | 18 | \ getcwd()->fnamemodify(':p:h')->escape(' \')."\'"), |
19 | \ 'filereadable(v:val)'), | 19 | \ 'filereadable(v:val)'), |
20 | \ {_, p->{'filename': p, | 20 | \ {_, p->{'filename': p, |
21 | \ 'module': printf("%s | %-*s ", | 21 | \ 'module': printf("%s | %-*s ", |