From 03acc522a6aa9325a50d1e751c5cdbb0f301b8b8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 19 Feb 2020 23:51:22 +0100 Subject: [PATCH] Emacs: Prepare all-the-icons-ivy-rich. https://github.com/seagle0128/all-the-icons-ivy-rich/issues/4 --- init.d/basics/ui.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/init.d/basics/ui.el b/init.d/basics/ui.el index 8fa0918..5b05e63 100644 --- a/init.d/basics/ui.el +++ b/init.d/basics/ui.el @@ -1,6 +1,6 @@ ;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-19T15:08:04+0100> +;; Time-stamp: <2020-02-19T23:50:35+0100> ;;; Commentary: ;; * treemacs @@ -81,8 +81,6 @@ (use-package ivy-rich ;; all-the-icons-ivy would override the ivy-rich switch-buffer improvements. :after (all-the-icons-ivy counsel) - :functions (ivy-format-function-line) - :config (defun my/ivy-rich-switch-buffer-icon (candidate) "Return icon for `candidate'." @@ -114,6 +112,13 @@ (setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line) ) +;; ;; Use icons in ivy-rich. +;; (use-package all-the-icons-ivy-rich +;; :pin melpa ; We need > 1.1.0. +;; :after (all-the-icons ivy-rich) +;; :config (all-the-icons-ivy-rich-mode 1) +;; ) + (use-package ivy-purpose :after (window-purpose)