From bcf5501309d16178d6553510e90e978ec0b94578 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 22 Jan 2022 17:58:41 +0100 Subject: [PATCH] use telescope-ui-select --- .config/nvim/lua/pluginconf/telescope.lua | 8 ++++++++ .config/nvim/lua/plugins.lua | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.config/nvim/lua/pluginconf/telescope.lua b/.config/nvim/lua/pluginconf/telescope.lua index 5c279dc..ddce6a2 100644 --- a/.config/nvim/lua/pluginconf/telescope.lua +++ b/.config/nvim/lua/pluginconf/telescope.lua @@ -10,4 +10,12 @@ require("telescope").setup { "--smart-case", }, }, + + extensions = { + ["ui-select"] = { + require("telescope.themes").get_dropdown {} + } + }, } + +require("telescope").load_extension("ui-select") diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 7041757..c1fb0c3 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -112,5 +112,7 @@ return require("packer").startup(function(use) requires = "nvim-treesitter/nvim-treesitter", } + use "nvim-telescope/telescope-ui-select.nvim" + cmp_plugins(use) end)