branch: elpa/color-theme-tangotango
commit 294d4686fcf00d196cdd261f2faec10594c78458
Author: Julien Barnier <[email protected]>
Commit: Julien Barnier <[email protected]>
Add regexp metachars highlighting. Fix #8
---
color-theme-tangotango.el | 4 ++++
tangotango-theme.el | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/color-theme-tangotango.el b/color-theme-tangotango.el
index 9d7313b..83ba681 100644
--- a/color-theme-tangotango.el
+++ b/color-theme-tangotango.el
@@ -238,6 +238,10 @@
(rpm-spec-section-face ((t (:foreground "#8ae234" :underline t :weight
bold))))
(rpm-spec-tag-face ((t (:foreground "dodger blue" :weight bold))))
(rpm-spec-var-face ((t (:foreground "tomato"))))
+ ;; regexp metachars
+ (font-lock-negation-char-face ((t (:foreground "#6ac214"))))
+ (font-lock-regexp-grouping-construct ((t (:foreground "#edd400"))))
+ (font-lock-regexp-grouping-backslash ((t (:foreground "#888a85"))))
(which-func ((t (:inherit 'font-lock-function-name-face :weight normal))))
)))
diff --git a/tangotango-theme.el b/tangotango-theme.el
index 0bcbfef..01b69cf 100644
--- a/tangotango-theme.el
+++ b/tangotango-theme.el
@@ -232,6 +232,10 @@
`(rpm-spec-section-face ((t (:foreground "#8ae234" :underline t :weight
bold))))
`(rpm-spec-tag-face ((t (:foreground "dodger blue" :weight bold))))
`(rpm-spec-var-face ((t (:foreground "tomato"))))
+ ;; regexp metachars
+ `(font-lock-negation-char-face ((t (:foreground "#6ac214"))))
+ `(font-lock-regexp-grouping-construct ((t (:foreground "#edd400"))))
+ `(font-lock-regexp-grouping-backslash ((t (:foreground "#888a85"))))
`(which-func ((t (:inherit (font-lock-function-name-face) :weight normal))))
)