]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix `counsel-ag` on Windows
authorkovrik <kovrik0@gmail.com>
Mon, 23 Nov 2015 21:24:22 +0000 (10:24 +1300)
committerkovrik <kovrik0@gmail.com>
Mon, 23 Nov 2015 21:24:22 +0000 (10:24 +1300)
counsel.el

index bee493bacba44c7ff79e3f1776886dfa69e3963e..7e6b9fd8012a94591fa5b107f10b6f71463f5d19 100644 (file)
@@ -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)