branch: master
commit bc00eafb326101e45a852fb36263ef445ef27b9b
Author: kovrik <[email protected]>
Commit: kovrik <[email protected]>
Fix `counsel-ag` on Windows
---
counsel.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/counsel.el b/counsel.el
index bee493b..7e6b9fd 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1104,7 +1104,7 @@ Usable with `ivy-resume', `ivy-next-line-and-call' and
(setq ivy--old-re
(ivy--regex string)))))
(counsel--async-command
- (format "ag --noheading --nocolor %S" regex))
+ (format "ag --vimgrep %S" regex))
nil)))
(defun counsel-ag (&optional initial-input initial-directory)