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 a2c32b3 commit a14e2eeCopy full SHA for a14e2ee
1 file changed
autoload/ctrlp.vim
@@ -2504,7 +2504,9 @@ endf
2504
fu! s:getextvar(key)
2505
if s:itemtype >= len(s:coretypes) && len(g:ctrlp_ext_vars) > 0
2506
let vars = g:ctrlp_ext_vars[s:itemtype - len(s:coretypes)]
2507
- retu has_key(vars, a:key) ? vars[a:key] : -1
+ if has_key(vars, a:key)
2508
+ retu vars[a:key]
2509
+ en
2510
en
2511
retu get(g:, 'ctrlp_' . s:matchtype . '_' . a:key, -1)
2512
endf
0 commit comments