mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
fix(telescope): default to follow=true
This commit is contained in:
parent
eca8692451
commit
b87d18cc17
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ local picker = {
|
||||||
---@param opts? lazyvim.util.pick.Opts
|
---@param opts? lazyvim.util.pick.Opts
|
||||||
open = function(builtin, opts)
|
open = function(builtin, opts)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
|
opts.follow = opts.follow ~= false
|
||||||
if opts.cwd and opts.cwd ~= vim.uv.cwd() then
|
if opts.cwd and opts.cwd ~= vim.uv.cwd() then
|
||||||
local function open_cwd_dir()
|
local function open_cwd_dir()
|
||||||
local action_state = require("telescope.actions.state")
|
local action_state = require("telescope.actions.state")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue