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 f74ef64 commit 583a8a2Copy full SHA for 583a8a2
1 file changed
autoload/ctrlp.vim
@@ -2499,7 +2499,9 @@ endf
2499
fu! s:getextvar(key)
2500
if s:itemtype >= len(s:coretypes) && len(g:ctrlp_ext_vars) > 0
2501
let vars = g:ctrlp_ext_vars[s:itemtype - len(s:coretypes)]
2502
- retu has_key(vars, a:key) ? vars[a:key] : -1
+ if has_key(vars, a:key)
2503
+ retu vars[a:key]
2504
+ en
2505
en
2506
retu get(g:, 'ctrlp_' . s:matchtype . '_' . a:key, -1)
2507
endf
0 commit comments