Use -g instead of --filename-pattern as Ag argument
This change undoes one of the two changes made in #564 so resolve an issue for non macOS environments with Ag and ctrlp.
This commit is contained in:
parent
06b4bf8c9c
commit
cad8f464e3
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -80,7 +80,7 @@ if executable('ag')
|
|||
set grepprg=ag\ --nogroup\ --nocolor
|
||||
|
||||
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore
|
||||
let g:ctrlp_user_command = 'ag --literal --files-with-matches --nocolor --hidden --filename-pattern "" %s'
|
||||
let g:ctrlp_user_command = 'ag --literal --files-with-matches --nocolor --hidden -g "" %s'
|
||||
|
||||
" ag is fast enough that CtrlP doesn't need to cache
|
||||
let g:ctrlp_use_caching = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue