completion/ivy: remove -S switch
If ivy-case-fold-search == 'auto, counsel-{ag,rg} does this for us.
This commit is contained in:
parent
182b8a3ba9
commit
cbc7c2aaf0
1 changed files with 2 additions and 2 deletions
|
@ -399,11 +399,11 @@ order.
|
||||||
(counsel-projectile-grep))
|
(counsel-projectile-grep))
|
||||||
(counsel-projectile-grep)))))
|
(counsel-projectile-grep)))))
|
||||||
(`ag
|
(`ag
|
||||||
(let ((args (concat " -S" (if all-files " -a")
|
(let ((args (concat (if all-files " -a")
|
||||||
(unless recursive " --depth 1"))))
|
(unless recursive " --depth 1"))))
|
||||||
(counsel-ag query directory args (format prompt args))))
|
(counsel-ag query directory args (format prompt args))))
|
||||||
(`rg
|
(`rg
|
||||||
(let ((args (concat " -S" (if all-files " -uu")
|
(let ((args (concat (if all-files " -uu")
|
||||||
(unless recursive " --maxdepth 1"))))
|
(unless recursive " --maxdepth 1"))))
|
||||||
(counsel-rg query directory args (format prompt args))))
|
(counsel-rg query directory args (format prompt args))))
|
||||||
(_ (error "No search engine specified"))))))
|
(_ (error "No search engine specified"))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue