From db8e0f7d35c8c75cdf09fcb3e842abe3479232f6 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 12 Jun 2024 16:54:18 +0200 Subject: [PATCH] fix(telescope): flash integration --- lua/lazyvim/plugins/extras/editor/telescope.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/editor/telescope.lua b/lua/lazyvim/plugins/extras/editor/telescope.lua index 9f5bd71c..7bbe4c16 100644 --- a/lua/lazyvim/plugins/extras/editor/telescope.lua +++ b/lua/lazyvim/plugins/extras/editor/telescope.lua @@ -195,9 +195,12 @@ return { -- Flash Telescope config { - "folke/flash.nvim", + "nvim-telescope/telescope.nvim", optional = true, opts = function(_, opts) + if not LazyVim.has("flash.nvim") then + return + end local function flash(prompt_bufnr) require("flash").jump({ pattern = "^",