Fixes for ivy-switch-buffer icons
Corrects the ivy-switch-buffer transformer to use buffer icons (not file icons), and fixes alignment issues in the icon display.
This commit is contained in:
parent
c79cf3c820
commit
9cdd5b2f99
2 changed files with 14 additions and 9 deletions
|
@ -88,7 +88,7 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
:after ivy
|
||||
:config
|
||||
(when (featurep! +icons)
|
||||
(cl-pushnew '(all-the-icons-ivy-icon-for-file (:width 2 :align right))
|
||||
(cl-pushnew '(+ivy-rich-buffer-icon)
|
||||
(cadr (plist-get ivy-rich-display-transformers-list
|
||||
'ivy-switch-buffer))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue