We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3532f98 + 27b6f15 commit 0051ac9Copy full SHA for 0051ac9
1 file changed
autoload/ctrlp.vim
@@ -1527,13 +1527,17 @@ endf
1527
1528
fu! s:usrign(item, type)
1529
if s:igntype == 1 | retu a:item =~ s:usrign | end
1530
- if s:igntype == 4
+ if s:igntype == 2
1531
+ if call(s:usrign, [a:item, a:type])
1532
+ retu 1
1533
+ end
1534
+ elsei s:igntype == 4
1535
if has_key(s:usrign, a:type) && s:usrign[a:type] != ''
1536
\ && a:item =~ s:usrign[a:type]
1537
retu 1
1538
elsei has_key(s:usrign, 'func') && s:usrign['func'] != ''
1539
\ && call(s:usrign['func'], [a:item, a:type])
- retur 1
1540
1541
end
1542
1543
retu 0
0 commit comments