Skip to content

Commit 0415f77

Browse files
committed
mru should be loaded when ctrlp_types is not defined.
close #371
1 parent 0677f47 commit 0415f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if g:ctrlp_map != '' && !hasmapto('<plug>(ctrlp)')
3939
exe 'map' g:ctrlp_map '<plug>(ctrlp)'
4040
en
4141

42-
if exists('g:ctrlp_types') && index(g:ctrlp_types, 'mru') >= 0
42+
if !exists('g:ctrlp_types') || index(g:ctrlp_types, 'mru') >= 0
4343
cal ctrlp#mrufiles#init()
4444
en
4545

0 commit comments

Comments
 (0)