Use telescope-ui-select for vim.ui.select

main
Ensar Sarajčić 2022-05-05 12:23:39 +02:00
parent b57cf14024
commit 889d0976a4
3 changed files with 3 additions and 0 deletions

View File

@ -94,5 +94,6 @@ return require("packer").startup({
-- Telescope
use("nvim-telescope/telescope.nvim") -- Fuzzy searcher
use("nvim-telescope/telescope-dap.nvim") -- DAP integration for Telescope
use("nvim-telescope/telescope-ui-select.nvim") -- UI select for Telescope
end,
})

View File

@ -22,6 +22,7 @@ require("telescope").setup({
require("telescope").load_extension("dap")
require("telescope").load_extension("notify")
require("telescope").load_extension("ui-select")
vim.keymap.set("n", "<C-P>", function()
require("telescope.builtin").find_files()

View File

@ -79,3 +79,4 @@ vim.ui.input = function(opts, on_confirm)
end
-- Selections
-- Using telescope for select UI