branch: master
commit 63dd0d37c0b5e150ffb961f27e160a2a8a7e795d
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-git-grep-proj-function): Use greedy regex
---
counsel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index f767fbf..1935049 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1036,7 +1036,7 @@ INITIAL-INPUT can be given as the initial minibuffer
input."
(if (< (length str) 3)
(counsel-more-chars 3)
(let ((regex (setq ivy--old-re
- (ivy--regex str))))
+ (ivy--regex str t))))
(counsel--async-command (format counsel-git-grep-cmd regex))
nil)))