dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit f32f8ca03b9ffe9f12e49f28d647e666bacb8553
parent 1969b132b7803fa1a7443ef89fc9555221125fee
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sun,  5 Feb 2023 17:47:38 +0100

Set compilation directory faces explicitly

OT1H it's likely I'll always keep font-lock's function & built-in
faces somewhat close together (although thinking more about it, the
former is for highlighting declaration, and the latter for
highlighting usage, so… worth challenging that assumption), OTOH I'd
rather not keep the implicit function = directory association.

Diffstat:
M.emacs.d/eighters-theme.el | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el @@ -1,6 +1,7 @@ ;; -*- lexical-binding: t -*- (require 'color) +(require 'compile) ; compilation-*-directory-face (require-theme 'modus-themes) (deftheme eighters @@ -212,6 +213,7 @@ `(custom-variable-tag ((t (:inherit eighters-title-3)))) `(default ((t (:background ,bg :foreground ,fg)))) `(dired-broken-symlink ((t (:background ,bg-red :foreground ,fg-yellow :weight bold)))) + `(dired-directory ((t (:weight bold :foreground ,fg-blue)))) `(dired-header ((t (:inherit eighters-title-1)))) `(dired-special ((t (:foreground ,fg-yellow-dim)))) `(eldoc-highlight-function-argument ((t (:background ,bg-yellow :foreground ,fg-yellow :weight bold)))) @@ -462,6 +464,10 @@ `(git-commit-keyword ((t (:inherit font-lock-constant-face)))) `(git-commit-known-pseudo-header ((t (:inherit message-header-name)))) `(git-commit-summary ((t (:inherit eighters-title-1)))) - `(git-commit-pseudo-header ((t (:inherit eighters-identity)))))) + `(git-commit-pseudo-header ((t (:inherit eighters-identity))))) + (custom-theme-set-variables + 'eighters + '(compilation-enter-directory-face 'dired-directory) + `(compilation-leave-directory-face '(:foreground ,fg-blue-dim)))) (provide-theme 'eighters)