summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-theme.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r--.config/emacs/modules/mm-theme.el16
1 files changed, 13 insertions, 3 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index 90b89ba..cde214a 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -8,7 +8,7 @@
;;; Fonts
-(defvar mm-theme-monospace-font `(,(if mm-darwin-p
+(defvar mm-theme-monospace-font `(,(if mm-humanwave-p
"Iosevka Custom"
"Iosevka Smooth")
:weight regular
@@ -166,6 +166,16 @@ See also the `mm-theme-background-opacity' variable."
(("C-c h l" . pulsar-highlight-dwim)))
+;;; In-buffer highlighting
+
+(require 'hi-lock) ; For extra face definitions
+(use-package highlighter
+ :bind (("C-c h m" . #'highlighter-mark)
+ ("C-c h u" . #'highlighter-unmark)
+ ("C-c h U" . #'highlighter-unmark-buffer))
+ :commands (highlighter-mark highlighter-unmark highlighter-unmark-buffer))
+
+
;;; Add Padding
(use-package spacious-padding
@@ -224,7 +234,7 @@ See also the `mm-theme-background-opacity' variable."
;;; Indent Guides
-(when mm-darwin-p
+(when mm-humanwave-p
(use-package highlight-indent-guides
:ensure t
:hook ((jinja2-mode vue-ts-mode mhtml-mode) . highlight-indent-guides-mode)
@@ -233,4 +243,4 @@ See also the `mm-theme-background-opacity' variable."
(highlight-indent-guides-auto-even-face-perc 30)
(highlight-indent-guides-auto-odd-face-perc 0)))
-(provide 'mm-theme) \ No newline at end of file
+(provide 'mm-theme)