1

I have a super simple entry for ctrlp_custom_ignore in my .vimrc:

let g:ctrlp_custom_ignore = 'doc'

However, it's not working. Files inside doc still show up in my searches. How can I fix this?

Jason Swett
  • 43,526
  • 67
  • 220
  • 351

1 Answers1

0

Turns out I had a ctrlp_user_command which was taking precedence over ctrlp_custom_ignore. Rather than getting my ctrlp_custom_ignore to work, I just changed the command I had under ctrlp_user_command to exclude the directory I wanted excluded.

Jason Swett
  • 43,526
  • 67
  • 220
  • 351