branch: externals/modus-operandi-theme
commit c8b29ccf00bc49a01a9d46a4c5223b007f817877
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add support for HIGHLIGHT-INDENTATION
    
    This should address issue 48, though any further refinements are always
    welcome: https://gitlab.com/protesilaos/modus-themes/-/issues/48
---
 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 c231495..818203e 100644
--- a/README.org
+++ b/README.org
@@ -743,6 +743,7 @@ the "full support" may not be 100% true…
 + highlight-blocks
 + highlight-defined
 + highlight-escape-sequences (=hes-mode=)
++ highlight-indentation
 + highlight-numbers
 + highlight-symbol
 + highlight-thing
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 6b0b1fa..e1a9fe0 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -171,6 +171,7 @@
 ;;     highlight-blocks
 ;;     highlight-defined
 ;;     highlight-escape-sequences (`hes-mode')
+;;     highlight-indentation
 ;;     highlight-numbers
 ;;     highlight-symbol
 ;;     highlight-thing
@@ -2000,6 +2001,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    ;;;; highlight-escape-sequences (`hes-mode')
    `(hes-escape-backslash-face ((,class (:foreground ,fg-escape-char-construct 
:weight bold))))
    `(hes-escape-sequence-face ((,class (:foreground ,fg-escape-char-backslash 
:weight bold))))
+   ;;;; highlight-indentation
+   `(highlight-indentation-face ((,class (:background ,bg-hl-line))))
+   `(highlight-indentation-current-column-face ((,class (:background 
,bg-active))))
    ;;;; highlight-numbers
    `(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
    ;;;; highlight-symbol
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 47f8fd5..c8a2d45 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -171,6 +171,7 @@
 ;;     highlight-blocks
 ;;     highlight-defined
 ;;     highlight-escape-sequences (`hes-mode')
+;;     highlight-indentation
 ;;     highlight-numbers
 ;;     highlight-symbol
 ;;     highlight-thing
@@ -2000,6 +2001,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    ;;;; highlight-escape-sequences (`hes-mode')
    `(hes-escape-backslash-face ((,class (:foreground ,fg-escape-char-construct 
:weight bold))))
    `(hes-escape-sequence-face ((,class (:foreground ,fg-escape-char-backslash 
:weight bold))))
+   ;;;; highlight-indentation
+   `(highlight-indentation-face ((,class (:background ,bg-hl-line))))
+   `(highlight-indentation-current-column-face ((,class (:background 
,bg-active))))
    ;;;; highlight-numbers
    `(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
    ;;;; highlight-symbol

Reply via email to