fix(telescope): default to follow=true

This commit is contained in:
Folke Lemaitre 2024-06-16 07:13:40 +02:00
parent eca8692451
commit b87d18cc17
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -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")