From c958f1eafd8b09c87eda8135b0dfd997e09af0cb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 15 Jun 2017 15:09:31 +0200 Subject: [PATCH] Move italic customization to private module --- modules/private/hlissner/config.el | 8 ++++++++ modules/ui/doom/config.el | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/private/hlissner/config.el b/modules/private/hlissner/config.el index f9362cd9d..a2178e076 100644 --- a/modules/private/hlissner/config.el +++ b/modules/private/hlissner/config.el @@ -20,6 +20,14 @@ (advice-add #'tramp-read-passwd :around #'+hlissner*no-authinfo-for-tramp) +(after! doom-themes + ;; Since Fira Mono doesn't have an italicized variant, highlight it instead + (set-face-attribute 'italic nil + :weight 'ultra-light + :foreground "#ffffff" + :background (doom-color 'current-line))) + + (after! evil-mc ;; if I'm in insert mode, chances are I want cursors to resume (add-hook! 'evil-mc-before-cursors-created diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index c389b9643..edf9a09d3 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -60,12 +60,6 @@ doom-neotree-file-icons 'simple doom-neotree-line-spacing 2) - ;; Since Fira Mono doesn't have an italicized variant, highlight it instead - (set-face-attribute 'italic nil - :weight 'ultra-light - :foreground "#ffffff" - :background (doom-color 'current-line)) - (after! neotree (defun +doom|neotree-fix-popup () "Ensure the fringe settings are maintained on popup restore."