From 8604de5ffeaf8723a37be518e74978e4ab31c2a4 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 2 Mar 2022 18:00:05 +0200 Subject: [PATCH] Nvim: add telescope-ui-select --- home/.config/nvim/lua/pluginconf/telescope.lua | 1 + home/.config/nvim/lua/pluginmanager.lua | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/.config/nvim/lua/pluginconf/telescope.lua b/home/.config/nvim/lua/pluginconf/telescope.lua index 843f568..7124a2f 100644 --- a/home/.config/nvim/lua/pluginconf/telescope.lua +++ b/home/.config/nvim/lua/pluginconf/telescope.lua @@ -1,3 +1,4 @@ local telescope = require('telescope') telescope.setup {} telescope.load_extension('fzf') +telescope.load_extension('ui-select') diff --git a/home/.config/nvim/lua/pluginmanager.lua b/home/.config/nvim/lua/pluginmanager.lua index cbfeece..4afccbc 100644 --- a/home/.config/nvim/lua/pluginmanager.lua +++ b/home/.config/nvim/lua/pluginmanager.lua @@ -46,12 +46,13 @@ require('packer').startup(function() -- Tree explorer use {'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons'} - -- Telescope and fzf extension for it + -- Telescope use { 'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}} } - use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'} + use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'} -- Use fzf for fuzzy finder + use {'nvim-telescope/telescope-ui-select.nvim'} -- Replace vim built in select with telescope -- Do stuff as sudo use 'lambdalisue/suda.vim'