Open ghost opened 11 years ago
And klen also answered:
Just
:unlet
it before setting it again.
unlet g:ctrlp_custom_ignore
let g:ctrlp_custom_ignore = ...
unlet
doesn't work since spf13-vim sets g:ctrlp_user_command
. I've tried to unlet
both g:ctrlp_user_command
and g:ctrlp_custom_ignore
but with no luck.
Correction... the order in which you unlet
the directives seems to matter.
" custom ctrlp ignore settings
unlet g:ctrlp_custom_ignore
unlet g:ctrlp_user_command
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|\.hg$\|\.svn$\|bower_components$\|dist$\|node_modules$\|project_files$\|test$',
\ 'file': '\.exe$\|\.so$\|\.dll$\|\.pyc$' }
Setting g:ctrlp_custom_ignore in spf13's .vimrc seems to conflict with private customization of this variable in vimrc.bundles.local or vimrc.local
When I defined it myself, I get an error message when .vimrc is parsed, pointing at line 454.
More info: https://github.com/kien/ctrlp.vim/issues/417