branch: master commit 6f23c5e8095ebfe8065828ac5284dfeaef0cdf8e Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-occur-press): Re-use ivy-highlight-grep-commands --- ivy.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ivy.el b/ivy.el index 21dcf3b..2861277 100644 --- a/ivy.el +++ b/ivy.el @@ -4932,8 +4932,7 @@ EVENT gives the mouse position." (assoc str coll) (substring str offset))))) (if (memq (ivy-state-caller ivy-last) - '(swiper swiper-isearch - counsel-git-grep counsel-grep counsel-ag counsel-rg)) + (append '(swiper swiper-isearch) ivy-highlight-grep-commands)) (with-current-buffer (window-buffer (selected-window)) (swiper--cleanup) (swiper--add-overlays