completion/ivy: fix ivy-rich integration
This commit is contained in:
parent
77255a63e0
commit
f415762e8b
1 changed files with 9 additions and 6 deletions
|
@ -66,12 +66,6 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
|
||||
(ivy-mode +1)
|
||||
|
||||
;; Show more buffer information in switch-buffer commands
|
||||
(after! ivy-rich
|
||||
(dolist (cmd '(ivy-switch-buffer +ivy/switch-workspace-buffer
|
||||
counsel-projectile-switch-to-buffer))
|
||||
(ivy-set-display-transformer cmd '+ivy-buffer-transformer)))
|
||||
|
||||
(def-package! ivy-hydra
|
||||
:commands (ivy-dispatching-done-hydra ivy--matcher-desc)
|
||||
:init
|
||||
|
@ -80,6 +74,15 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
(kbd "M-o") #'ivy-dispatching-done-hydra)))
|
||||
|
||||
|
||||
(def-package! ivy-rich
|
||||
:hook (ivy-mode . ivy-rich-mode)
|
||||
:config
|
||||
;; Show more buffer information in other switch-buffer commands too
|
||||
(dolist (cmd '(ivy-switch-buffer +ivy/switch-workspace-buffer
|
||||
counsel-projectile-switch-to-buffer))
|
||||
(ivy-set-display-transformer cmd 'ivy-rich--ivy-switch-buffer-transformer)))
|
||||
|
||||
|
||||
(def-package! counsel
|
||||
:commands counsel-describe-face
|
||||
:init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue