branch: elpa/evil-anzu
commit c2318e6aad4fd9ca2418f33f36f84ccd8dcb7f97
Merge: 58d9f8f099 cb42ec7d77
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Merge pull request #1 from syohex/disable-highlight-when-flash
remove anzu status when evil-flash-hook is called
---
evil-anzu.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/evil-anzu.el b/evil-anzu.el
index 0d653ccab2..c051219f2d 100644
--- a/evil-anzu.el
+++ b/evil-anzu.el
@@ -100,6 +100,9 @@
(define-globalized-minor-mode global-evil-anzu-mode evil-anzu-mode
evil-anzu--turn-on
:group 'evil-anzu)
+(defadvice evil-flash-hook (after reset-anzu-information activate)
+ (anzu--reset-status))
+
(defadvice evil-search (before reset-anzu-information activate)
(anzu--reset-status))