]> code.delx.au - gnu-emacs-elpa/blobdiff - ivy.el
ivy.el (ivy--format-minibuffer-line): Update
[gnu-emacs-elpa] / ivy.el
diff --git a/ivy.el b/ivy.el
index eee341ccff4fe9eee1c67c4147ebbe83a970bef3..f664e5dab1a44f2dbf03c170a70ed9c0846439f8 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -2440,7 +2440,8 @@ SEPARATOR is used to join the candidates."
 
 (defun ivy--format-minibuffer-line (str)
   (let ((start
-         (if (and (memq (ivy-state-caller ivy-last) '(counsel-git-grep))
+         (if (and (memq (ivy-state-caller ivy-last)
+                        '(counsel-git-grep counsel-ag counsel-pt))
                   (string-match "^[^:]+:[^:]+:" str))
              (match-end 0)
            0))