fix(vim): add --no-require-git to the ferret rg command
Now that I have mostly moved over to sapling, rg dose not ignore git files by default. When searching in vim it would search in the node_modules by default. As you can imagine this took for ever. Now we are passing the `--no-require-git` flag so it will ignore any file / dirs that are in any .gitignore by default.
This commit is contained in:
parent
e17f3f0e97
commit
cd382dbdf8
1 changed files with 4 additions and 0 deletions
|
|
@ -96,3 +96,7 @@ nmap <silent> <Leader>r :IvyTaskfile<cr>
|
|||
" ignored from command-t file searches.
|
||||
let g:CommandTWildIgnore="*/node_modules/*,*/vendor/*,*/runtime/*,*/public_html/*,*/pack/*"
|
||||
|
||||
let g:FerretExecutableArguments = {
|
||||
\ 'rg': '--no-require-git --vimgrep --no-heading --no-config --max-columns 4096'
|
||||
\ }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue