I am trying to write my own CtrlP extension.
The document shows that, we have to set g:ctrlp_extensions
as follow to make our extension working.
let g:ctrlp_extensions = ['extensionname']
But it seems these two extension:ctrlp-funky, ctrlp-extensions.vim can still work without setting g:ctrlp_extensions
(I failed to find this variable in the souce files of this two extension by using grep -rn "g:ctrlp_extensions" *
).
So my question is:
- can we extend CtrlP without setting
g:ctrlp_extensions
- if so, how can we do that