branch: master
commit b3f4db7c24076c39e323d05f0ddf7670bb865660
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ivy.el (ivy--format-minibuffer-line): Update
    
    Add "counsel-ag counsel-pt" to the special highlight behavior.
    
    Re #483
---
 ivy.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index eee341c..f664e5d 100644
--- 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))

Reply via email to