mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(chezmoi): exclude directories for fzf-lua
This commit is contained in:
parent
b20fb710c1
commit
9d91b813dd
1 changed files with 3 additions and 1 deletions
|
|
@ -3,7 +3,9 @@ local pick_chezmoi = function()
|
|||
require("telescope").extensions.chezmoi.find_files()
|
||||
elseif LazyVim.pick.picker.name == "fzf" then
|
||||
local fzf_lua = require("fzf-lua")
|
||||
local results = require("chezmoi.commands").list()
|
||||
local results = require("chezmoi.commands").list({
|
||||
args = { "--include", "files" }, -- exclude directories
|
||||
})
|
||||
local chezmoi = require("chezmoi.commands")
|
||||
|
||||
local opts = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue