summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-24 18:04:51 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-24 18:04:51 +0100
commit25d5e0e8cbf355a1c325ae915c3bbcdec4b5aee6 (patch)
treefe0f32994730553521c4151a16ff9428c5c1dc09 /fnl
parent2c76a9258906f488ce015f6af1e169cd8219cbb6 (diff)
Add ui-select to telescope
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/telescope.fnl13
1 files changed, 11 insertions, 2 deletions
diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl
index b072a87..daa17d0 100644
--- a/fnl/plugins/telescope.fnl
+++ b/fnl/plugins/telescope.fnl
@@ -27,9 +27,16 @@
:nvim-lua/plenary.nvim
:nvim-telescope/telescope-fzf-native.nvim
:nvim-telescope/telescope-frecency.nvim
+ :nvim-telescope/telescope-ui-select.nvim
:lyz-code/telescope-orgmode.nvim])
-(local extensions [:fzf :frecency :orgmode :projects :git_worktree :harpoon])
+(local extensions [:fzf
+ :frecency
+ :orgmode
+ :projects
+ :git_worktree
+ :harpoon
+ :ui-select])
(fn load-extensions [telescope]
(each [_ extension (ipairs extensions)]
@@ -180,7 +187,9 @@
:extensions {:fzf {:fuzzy true
:override_generic_sorter true
:override_file_sorter true
- :case_mode :smart_case}}})
+ :case_mode :smart_case}
+ :ui-select (let [themes (require :telescope.themes)]
+ (themes.get_dropdown))}})
(load-extensions telescope)))
{1 :nvim-telescope/telescope.nvim