diff --git a/Configuration.org b/Configuration.org index b02ddac65a97302fbcdf87f97320a68080c64e44..7fdeff96c7d0754424a9b46c848213d22946b9b4 100644 --- a/Configuration.org +++ b/Configuration.org @@ -262,14 +262,16 @@ Interface de complétion (setq ivy-use-virtual-buffers t) (setq ivy-count-format "%d/%d ") (setq ivy-display-style 'fancy) - (setq ivy-wrap t) - ;; (custom-set-faces - ;; '(ivy-minibuffer-match-face-1 ((t (:background "#74b5727c5654" :foreground "black")))) - ;; '(ivy-minibuffer-match-face-2 ((t (:background "#ce8bf1006cba" :foreground "black")))) - ;; '(ivy-minibuffer-match-face-3 ((t (:background "#fefdc4fe5941" :foreground "black")))) - ;; '(ivy-minibuffer-match-face-4 ((t (:background "#fefd9c40f85a" :foreground "black")))) - ;; ) - ) + (setq ivy-wrap t)) + + (use-package ivy-rich + :hook (ivy-mode . ivy-rich-mode) + :custom (ivy-rich-path-style 'abbrev) + :config + (ivy-rich-modify-columns + 'ivy-switch-buffer + '((ivy-rich-switch-buffer-size (:align right)) + (ivy-rich-switch-buffer-major-mode (:width 20 :face error))))) #+END_SRC ** Swiper @@ -334,7 +336,7 @@ Boîtes de dialogue pour la complétion :config (setq company-idle-delay 0) (setq company-minimum-prefix-length 2) - + (setq company-tooltip-align-annotations t) (global-company-mode t))