From 7f28abb5142d97157422ad8773e21ba101d0f786 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 18 Nov 2018 02:08:51 +0800 Subject: [PATCH] Improve faces of the buffer info. --- doom-modeline.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 5041dd1..6359591 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -658,7 +658,8 @@ directory, the file name, and its state (modified, read-only or non-existent)." " ")))) (if buffer-file-name (doom-modeline-update-buffer-file-name) - "%b")))) + (propertize "%b" 'face (when (doom-modeline--active) + 'doom-modeline-buffer-file)))))) (doom-modeline-def-segment buffer-info-simple "Display only the current buffer's name, but with fontification."