add telescope ui select

This commit is contained in:
Oliver Hartmann 2022-12-24 23:25:17 +01:00
parent c136b87b7b
commit 17b3f53e11
2 changed files with 9 additions and 0 deletions

View File

@ -53,6 +53,7 @@ local plugins = {
'kyazdani42/nvim-web-devicons',
{
'nvim-telescope/telescope-fzf-native.nvim',
'nvim-telescope/telescope-ui-select.nvim',
build = {
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -G Ninja', -- On windows add -DCMAKE_C_FLAGS="-target x86_64-w64-mingw32"
'cmake --build build --config Release',

View File

@ -50,8 +50,16 @@ require('telescope').setup({
},
lsp_dynamic_workspace_symbols = {},
},
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown {
}
}
}
})
require("telescope").load_extension("ui-select")
Project_files = function()
local opts = {} -- define here if you want to define something
local ok = pcall(require "telescope.builtin".git_files, opts)