summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-26 01:01:03 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-26 01:01:03 +0100
commitcf44d8965b675e8e4f4ca139ca093e564714bf8f (patch)
tree06d056e53548fc8e0e0b687d36cd095e49c2a52f /fnl
parent6af6d862a6f969aed4c0eeed18447b573a6089c3 (diff)
Replace ui-select with dressing
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/dressing.fnl5
-rw-r--r--fnl/plugins/telescope.fnl13
2 files changed, 6 insertions, 12 deletions
diff --git a/fnl/plugins/dressing.fnl b/fnl/plugins/dressing.fnl
index 60da1b0..348d74a 100644
--- a/fnl/plugins/dressing.fnl
+++ b/fnl/plugins/dressing.fnl
@@ -1,3 +1,6 @@
;; UI for inputs
-{1 :stevearc/dressing.nvim :event :BufReadPost}
+(local opts {:input {:enabled false}
+ :select {:backend [:nui :telescope :builtin]}})
+
+{1 :stevearc/dressing.nvim :event :BufReadPost : opts}
diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl
index daa17d0..b072a87 100644
--- a/fnl/plugins/telescope.fnl
+++ b/fnl/plugins/telescope.fnl
@@ -27,16 +27,9 @@
: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
- :ui-select])
+(local extensions [:fzf :frecency :orgmode :projects :git_worktree :harpoon])
(fn load-extensions [telescope]
(each [_ extension (ipairs extensions)]
@@ -187,9 +180,7 @@
:extensions {:fzf {:fuzzy true
:override_generic_sorter true
:override_file_sorter true
- :case_mode :smart_case}
- :ui-select (let [themes (require :telescope.themes)]
- (themes.get_dropdown))}})
+ :case_mode :smart_case}}})
(load-extensions telescope)))
{1 :nvim-telescope/telescope.nvim