From 1170b7ffa4eaea43166050a4b01dff793dbc2b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 24 Mar 2024 23:41:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20telescope=20definit?= =?UTF-8?q?ion=20for=20extensions=20and=20pickers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lua/plugins/extras/lazyvim/telescope.lua | 40 +++++++++++++------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua b/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua index ffd9761a..048dabe8 100644 --- a/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua +++ b/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua @@ -70,21 +70,37 @@ return { "*.git/*", "*/tmp/*", }, - pickers = { - find_files = { - hidden = false, - }, + }, + pickers = { + find_files = { + hidden = false, }, - extensions = { - fzf = { - fuzzy = true, - override_generic_sorter = true, - override_file_sorter = true, - case_mode = "smart_case", + buffers = { + layout_config = { + prompt_position = "top", + height = 0.5, + width = 0.6, }, - ["ui-select"] = { - require("telescope.themes").get_dropdown({}), + sorting_strategy = "ascending", + }, + spell_suggest = { + layout_config = { + prompt_position = "top", + height = 0.3, + width = 0.25, }, + sorting_strategy = "ascending", + }, + }, + extensions = { + fzf = { + fuzzy = true, + override_generic_sorter = true, + override_file_sorter = true, + case_mode = "smart_case", + }, + ["ui-select"] = { + require("telescope.themes").get_dropdown({}), }, }, },