diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index a8e484aed..33cd6cd2e 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -18,10 +18,10 @@ "Display the buffer name. Buffers that are considered unreal (see `doom-real-buffer-p') are dimmed with -`font-lock-comment-face'." +`+ivy-buffer-unreal-face'." (if (doom-real-buffer-p (get-buffer candidate)) candidate - (propertize candidate 'face 'font-lock-comment-face))) + (propertize candidate 'face +ivy-buffer-unreal-face))) ;;;###autoload (defun +ivy-rich-buffer-icon (candidate) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 0afe667d9..ded6ab898 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -26,6 +26,9 @@ silently ignored. If you want to already use git-grep or grep, set this to nil.") +(defvar +ivy-buffer-unreal-face 'font-lock-comment-face + "The face for unreal buffers in `ivy-switch-to-buffer'.") + (defmacro +ivy-do-action! (action) "Returns an interactive lambda that sets the current ivy action and immediately runs it on the current candidate (ending the ivy session)."