From 7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 20 May 2023 00:08:22 +0200 Subject: Add icons file --- fnl/plugins/editor/which-key.fnl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fnl/plugins/editor/which-key.fnl') diff --git a/fnl/plugins/editor/which-key.fnl b/fnl/plugins/editor/which-key.fnl index 9ea8ff8..76f6e47 100644 --- a/fnl/plugins/editor/which-key.fnl +++ b/fnl/plugins/editor/which-key.fnl @@ -1,5 +1,7 @@ ;; Which-key provides a pop-up menu for some key mappings. +(local icons (require :plugins.icons)) + (local opts {:plugins {:marks true :registers true :spelling {:enabled true :suggestions 20} @@ -10,7 +12,9 @@ :nav true :z true :g true}} - :icons {:breadcrumb "»" :separator " " :group "+"} + :icons {:breadcrumb (. icons :guillemet) + :separator (.. (. icons :small-right-arrow) " ") + :group "+"} :popup_mappings {:scroll_down : :scroll_up :} :window {:border :rounded :position :bottom :winblend 0} :layout {:height {:min 4 :max 25} -- cgit v1.2.3-70-g09d2