branch: externals/modus-operandi-theme
commit cac1f0377291b593ab128f704d934e82a90b2426
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Support HIGHLIGHT-ESCAPE-SEQUENCES (hes-mode)
Also see the discussion in issue 28:
https://gitlab.com/protesilaos/modus-themes/-/issues/28
---
README.org | 1 +
modus-operandi-theme.el | 4 ++++
modus-vivendi-theme.el | 4 ++++
3 files changed, 9 insertions(+)
diff --git a/README.org b/README.org
index f87a702..8da0706 100644
--- a/README.org
+++ b/README.org
@@ -261,6 +261,7 @@ the "full support" may not be 100% true…
+ helm-xref
+ highlight-blocks
+ highlight-defined
++ highlight-escape-sequences (=hes-mode=)
+ highlight-numbers
+ highlight-thing
+ hl-fill-column
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 1531df1..56ba429 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -146,6 +146,7 @@
;; helm-xref
;; highlight-blocks
;; highlight-defined
+;; highlight-escape-sequences (`hes-mode')
;; highlight-numbers
;; highlight-thing
;; hl-fill-column
@@ -1594,6 +1595,9 @@ between foreground and background is >= 7:1)."
`(highlight-defined-macro-name-face ((,class (:foreground ,magenta-alt))))
`(highlight-defined-special-form-name-face ((,class (:foreground
,magenta-alt-other))))
`(highlight-defined-variable-name-face ((,class (:foreground ,cyan))))
+ ;;;; highlight-escape-sequences (`hes-mode')
+ `(hes-escape-backslash-face ((,class (:foreground ,green :weight bold))))
+ `(hes-escape-sequence-face ((,class (:foreground ,magenta :weight bold))))
;;;; highlight-numbers
`(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
;;;; highlight-thing
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 6ff5012..51c9f48 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -146,6 +146,7 @@
;; helm-xref
;; highlight-blocks
;; highlight-defined
+;; highlight-escape-sequences (`hes-mode')
;; highlight-numbers
;; highlight-thing
;; hl-fill-column
@@ -1594,6 +1595,9 @@ between foreground and background is >= 7:1)."
`(highlight-defined-macro-name-face ((,class (:foreground ,magenta-alt))))
`(highlight-defined-special-form-name-face ((,class (:foreground
,magenta-alt-other))))
`(highlight-defined-variable-name-face ((,class (:foreground ,cyan))))
+ ;;;; highlight-escape-sequences (`hes-mode')
+ `(hes-escape-backslash-face ((,class (:foreground ,green :weight bold))))
+ `(hes-escape-sequence-face ((,class (:foreground ,magenta :weight bold))))
;;;; highlight-numbers
`(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
;;;; highlight-thing