From e7c96075b1fa97250d5e13348c4c911a66d4e9a1 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Wed, 10 Feb 2021 18:49:23 +0100
Subject: [PATCH] =?UTF-8?q?L=C3=A9gers=20ajustements=20cosm=C3=A9tiques?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Configuration.org | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/Configuration.org b/Configuration.org
index b02ddac..7fdeff9 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))
 
 
-- 
GitLab