emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master b3f4db7 268/272: ivy.el (ivy--format-minibuffer-line): Upd


From: Oleh Krehel
Subject: [elpa] master b3f4db7 268/272: ivy.el (ivy--format-minibuffer-line): Update
Date: Mon, 25 Apr 2016 10:13:29 +0000

branch: master
commit b3f4db7c24076c39e323d05f0ddf7670bb865660
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]