Move italic customization to private module

This commit is contained in:
Henrik Lissner 2017-06-15 15:09:31 +02:00
parent d3270a9b00
commit c958f1eafd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 6 deletions

View file

@ -20,6 +20,14 @@
(advice-add #'tramp-read-passwd :around #'+hlissner*no-authinfo-for-tramp) (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 (after! evil-mc
;; if I'm in insert mode, chances are I want cursors to resume ;; if I'm in insert mode, chances are I want cursors to resume
(add-hook! 'evil-mc-before-cursors-created (add-hook! 'evil-mc-before-cursors-created

View file

@ -60,12 +60,6 @@
doom-neotree-file-icons 'simple doom-neotree-file-icons 'simple
doom-neotree-line-spacing 2) 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 (after! neotree
(defun +doom|neotree-fix-popup () (defun +doom|neotree-fix-popup ()
"Ensure the fringe settings are maintained on popup restore." "Ensure the fringe settings are maintained on popup restore."