commit bea7c3ab639b181a59e9d920e4fd3d220fbff95f parent f0e627866d0ad9d04bc15f347714dce12c70de51 Author: michaelneuper <michael@michaelneuper.com> Date: Thu, 8 May 2025 15:45:36 +0200 fix variable-pitch-serif-font fonts in org keep some faces monospaced in org Diffstat:
| M | config.org | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/config.org b/config.org @@ -232,8 +232,14 @@ Copied from [[https://discourse.doomemacs.org/t/cant-size-doom-variable-pitch-fo (add-hook! 'org-mode-hook #'mixed-pitch-mode) (after! mixed-pitch - (setq mixed-pitch-set-height t) - (setq variable-pitch-serif-font doom-variable-pitch-font) + (setq mixed-pitch-set-height t + variable-pitch-serif-font doom-variable-pitch-font) + + (pushnew! mixed-pitch-fixed-pitch-faces + 'warning + 'org-drawer 'org-cite-key 'org-list-dt 'org-hide + 'corfu-default 'font-latex-math-face) + (set-face-attribute 'variable-pitch nil :height 1.2)) #+end_src *** other