add telescope ui select
This commit is contained in:
parent
c136b87b7b
commit
17b3f53e11
@ -53,6 +53,7 @@ local plugins = {
|
|||||||
'kyazdani42/nvim-web-devicons',
|
'kyazdani42/nvim-web-devicons',
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope-fzf-native.nvim',
|
'nvim-telescope/telescope-fzf-native.nvim',
|
||||||
|
'nvim-telescope/telescope-ui-select.nvim',
|
||||||
build = {
|
build = {
|
||||||
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -G Ninja', -- On windows add -DCMAKE_C_FLAGS="-target x86_64-w64-mingw32"
|
'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',
|
'cmake --build build --config Release',
|
||||||
|
@ -50,8 +50,16 @@ require('telescope').setup({
|
|||||||
},
|
},
|
||||||
lsp_dynamic_workspace_symbols = {},
|
lsp_dynamic_workspace_symbols = {},
|
||||||
},
|
},
|
||||||
|
extensions = {
|
||||||
|
["ui-select"] = {
|
||||||
|
require("telescope.themes").get_dropdown {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("telescope").load_extension("ui-select")
|
||||||
|
|
||||||
Project_files = function()
|
Project_files = function()
|
||||||
local opts = {} -- define here if you want to define something
|
local opts = {} -- define here if you want to define something
|
||||||
local ok = pcall(require "telescope.builtin".git_files, opts)
|
local ok = pcall(require "telescope.builtin".git_files, opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user