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.
1 parent 28612d0 commit 36f34cdCopy full SHA for 36f34cd
1 file changed
autoload/ctrlp.vim
@@ -2382,7 +2382,7 @@ fu! s:buildpat(lst)
2382
endf
2383
2384
fu! s:curtype()
2385
- return s:CurTypeName()
+ return s:CurTypeName()[1]
2386
2387
2388
fu! s:mfunc()
@@ -2527,7 +2527,7 @@ endf
2527
" Returns [lname, sname]
2528
fu! s:CurTypeName()
2529
if s:itemtype < len(s:coretypes)
2530
- return filter(copy(s:coretypes), 'v:val[1]==g:ctrlp_types[s:itemtype]')[0][1]
+ return filter(copy(s:coretypes), 'v:val[1]==g:ctrlp_types[s:itemtype]')[0]
2531
el
2532
return [s:getextvar("lname"), s:getextvar('sname')]
2533
en
0 commit comments