summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/telescope.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-20 00:08:22 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-20 00:08:22 +0200
commit7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c (patch)
tree4a2c593af7e1116ea1d42dd95f50d0b1f0ecd856 /fnl/plugins/editor/telescope.fnl
parentb025d2ca64e9c3b4d65635883eead9bac625921f (diff)
Add icons file
Diffstat (limited to 'fnl/plugins/editor/telescope.fnl')
-rw-r--r--fnl/plugins/editor/telescope.fnl8
1 files changed, 5 insertions, 3 deletions
diff --git a/fnl/plugins/editor/telescope.fnl b/fnl/plugins/editor/telescope.fnl
index 9c17aeb..d662b87 100644
--- a/fnl/plugins/editor/telescope.fnl
+++ b/fnl/plugins/editor/telescope.fnl
@@ -59,9 +59,11 @@
(fn setup []
(let [telescope (require :telescope)
- actions (require :telescope.actions)]
- (telescope.setup {:defaults {:prompt_prefix "  "
- :selection_caret "> "
+ actions (require :telescope.actions)
+ icons (require :plugins.icons)]
+ (telescope.setup {:defaults {:prompt_prefix (.. " " (. icons :telescope)
+ " ")
+ :selection_caret (.. (. icons :caret) " ")
:path_display [:smart]
:color_devicons false
:pickers {:find_files {:theme :dropdown}}