mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-04 15:03:42 -05:00
completion/ivy: remove -S switch
If ivy-case-fold-search == 'auto, counsel-{ag,rg} does this for us.
This commit is contained in:
@@ -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"))))))
|
||||||
|
Reference in New Issue
Block a user