Fix #1065: add +ivy-buffer-unreal-face option
This commit is contained in:
parent
e60b44d255
commit
00bb00649b
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue