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

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

[nongnu] elpa/gruvbox-theme 4a7635c3e0 092/258: Adding two show-pren spe


From: ELPA Syncer
Subject: [nongnu] elpa/gruvbox-theme 4a7635c3e0 092/258: Adding two show-pren specific colors (#49)
Date: Sat, 1 Jan 2022 01:59:32 -0500 (EST)

branch: elpa/gruvbox-theme
commit 4a7635c3e0ee4f56f3dadb38c5bcabf58e010231
Author: Shahab Shahsavari Alavidjeh <shahab.shahsavari@outlook.com>
Commit: Jason Milkins <jasonm23@users.noreply.github.com>

    Adding two show-pren specific colors (#49)
    
    show-pren is built-in parenthesis matching mechanism for emacs which
    only hasa two faces, show-paren-match and show-paren-mismatch
    
    I used gruvbox-dark3 for show-paren-match to replecate the default
    behavior of vim-gruvbox in MatchParen variable.
    
    A bright red back ground used to show mismatched parenthesis.
---
 gruvbox-theme.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gruvbox-theme.el b/gruvbox-theme.el
index d370dc1166..b2e03aab4d 100644
--- a/gruvbox-theme.el
+++ b/gruvbox-theme.el
@@ -372,7 +372,12 @@
     `(anzu-match-2          ((t (:background ,gruvbox-faded_yellow))))
     `(anzu-match-3          ((t (:background ,gruvbox-aquamarine4))))
     `(anzu-replace-to       ((t (:foreground ,gruvbox-bright_yellow))))
-    `(anzu-replace-highlight ((t (:inherit isearch)))))
+    `(anzu-replace-highlight ((t (:inherit isearch))))
+
+    ;; show-paren
+    `(show-paren-match      ((t (:background ,gruvbox-dark3 :weight bold))))
+    `(show-paren-mismatch   ((t (:background ,gruvbox-bright_red :foreground 
,gruvbox-dark3 :weight bold))))
+)
 
 
 (custom-theme-set-variables



reply via email to

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