completion/ivy: fix redundant smart-case flag in ripgrep args
This commit is contained in:
parent
855bc5bc20
commit
83211cd74c
1 changed files with 1 additions and 2 deletions
|
@ -70,8 +70,7 @@
|
|||
(unless recursion-p " --depth 1"))))
|
||||
(counsel-ag query directory args (format prompt args))))
|
||||
('rg
|
||||
(let ((args (concat " -S" ; smart-case
|
||||
(if all-files-p " -uu")
|
||||
(let ((args (concat (if all-files-p " -uu")
|
||||
(unless recursion-p " --maxdepth 1"))))
|
||||
(counsel-rg query directory args (format prompt args))))
|
||||
('pt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue