diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-20 00:08:22 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-20 00:08:22 +0200 |
commit | 7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c (patch) | |
tree | 4a2c593af7e1116ea1d42dd95f50d0b1f0ecd856 /fnl/plugins/editor/which-key.fnl | |
parent | b025d2ca64e9c3b4d65635883eead9bac625921f (diff) |
Add icons file
Diffstat (limited to 'fnl/plugins/editor/which-key.fnl')
-rw-r--r-- | fnl/plugins/editor/which-key.fnl | 6 |
1 files changed, 5 insertions, 1 deletions
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 :<c-d> :scroll_up :<c-u>} :window {:border :rounded :position :bottom :winblend 0} :layout {:height {:min 4 :max 25} |