From b87d18cc17300c49bf8bec4b81a3416024a39a21 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 16 Jun 2024 07:13:40 +0200 Subject: [PATCH] fix(telescope): default to follow=true --- lua/lazyvim/plugins/extras/editor/telescope.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/plugins/extras/editor/telescope.lua b/lua/lazyvim/plugins/extras/editor/telescope.lua index faeb16b9..5047f5f6 100644 --- a/lua/lazyvim/plugins/extras/editor/telescope.lua +++ b/lua/lazyvim/plugins/extras/editor/telescope.lua @@ -20,6 +20,7 @@ local picker = { ---@param opts? lazyvim.util.pick.Opts open = function(builtin, opts) opts = opts or {} + opts.follow = opts.follow ~= false if opts.cwd and opts.cwd ~= vim.uv.cwd() then local function open_cwd_dir() local action_state = require("telescope.actions.state")