From d844edf6dc2e5670de7c12e883e76cc144f65975 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 23 Jul 2021 00:54:28 +0200 Subject: [PATCH] [neovim] fix: lazy-load nvim-telescope dependencies --- .config/nvim/lua/plugins.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 87c2352..59e78ec 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -33,7 +33,17 @@ return require("packer").startup(function() -- fuzzy finder use { "nvim-telescope/telescope.nvim", - requires = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim"}, + opt = true, + requires = { + { + "nvim-lua/popup.nvim", + opt = true + }, + { + "nvim-lua/plenary.nvim", + opt = true + } + }, cmd = "Telescope" }