From cf44d8965b675e8e4f4ca139ca093e564714bf8f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 26 Feb 2024 01:01:03 +0100 Subject: Replace ui-select with dressing --- fnl/plugins/dressing.fnl | 5 ++++- fnl/plugins/telescope.fnl | 13 ++----------- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'fnl') 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 -- cgit v1.2.3-70-g09d2