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

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

[nongnu] elpa/evil-goggles cb295a7f68 055/225: Don't show the overlay wh


From: ELPA Syncer
Subject: [nongnu] elpa/evil-goggles cb295a7f68 055/225: Don't show the overlay when evil's motion type is 'block
Date: Wed, 12 Jan 2022 08:58:42 -0500 (EST)

branch: elpa/evil-goggles
commit cb295a7f6882f7b885886aca8bb88ce119973f40
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>

    Don't show the overlay when evil's motion type is 'block
---
 evil-goggles.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/evil-goggles.el b/evil-goggles.el
index e7aeb57513..be90238350 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -100,6 +100,7 @@ overlay must not be displayed.")
        (>= (point-max) end beg)
        (not (evil-visual-state-p))
        (not (evil-insert-state-p))
+       (not (eq evil-this-type 'block))
        ;; don't show overlay when the region has nothing but whitespace
        (not (null (string-match-p "[^ \t\n]" (buffer-substring-no-properties 
beg end))))))
 



reply via email to

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