about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-03T17·14+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-03T17·14+0100
commit4cd552de28a326a68fed77bc48257d0f815d94c4 (patch)
treeef8a26dc433fc1364b84b70cae58a8ca13438705 /emacs/.emacs.d/wpc
parenta8704bb54ddeedd70300d9c938999edf2f1fefc1 (diff)
Alter doom-acario-dark's font for comments
Thanks to my newly acquired `Info-mode` navigation skills, I quickly learned how
to alter fonts in Emacs!
Diffstat (limited to 'emacs/.emacs.d/wpc')
-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)