about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-ui.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el
index e555936f7b4a..0bfe6577ca76 100644
--- a/emacs/.emacs.d/wpc/wpc-ui.el
+++ b/emacs/.emacs.d/wpc/wpc-ui.el
@@ -167,7 +167,12 @@
     (progn
       (fonts-whitelist-set "JetBrainsMono")
       (fonts-enable-ligatures)
-      (colorscheme-whitelist-set 'doom-acario-dark))
+      (colorscheme-whitelist-set 'doom-acario-dark)
+      ;; the doom-acario-dark theme uses "Monospace Serif" as the font for
+      ;; comments, and I'd prefer JetBrainsMono (no italics).
+      (set-face-attribute font-lock-comment-face nil
+                          :family "JetBrainsMono"
+                          :slant 'normal))
   (load-theme 'wombat))
 
 (modeline-setup)