From 0906074f3fdffc09d636998ef3a660fb3425b4dd Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sun, 5 Apr 2026 09:56:10 +0200 Subject: feat: only load and configure telescope once --- plugin/10-remap.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/10-remap.lua') diff --git a/plugin/10-remap.lua b/plugin/10-remap.lua index a30d6a8..8b5c02f 100644 --- a/plugin/10-remap.lua +++ b/plugin/10-remap.lua @@ -59,6 +59,9 @@ vim.keymap.set("n", "u", require("undotree").open) -- Telescope local lazy_telescope = function() + if vim.g.telescope_loaded then return end + vim.g.telescope_loaded = true + vim.pack.add({ "https://github.com/nvim-lua/plenary.nvim", { -- cgit v1.2.3