aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMax Christian Pohle2021-12-28 01:16:09 +0100
committerMax Christian Pohle2021-12-28 01:16:09 +0100
commit848346111d52482a2f4aed6b41879e3a18789d8b (patch)
treef4266a5a86988cd70703922a99341241cf686b33 /plugin
parent86d6370a2aeaf85e9f7d716c682b4bb34dcfaad1 (diff)
downloadvim-recently-used-848346111d52482a2f4aed6b41879e3a18789d8b.tar.bz2
vim-recently-used-848346111d52482a2f4aed6b41879e3a18789d8b.zip
Fixed: sub-directories were not included
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-recently-used.vim4
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 ",
..