fix(chezmoi): close picker before opening chezmoi file

This commit is contained in:
gogamid 2025-01-18 12:00:03 +01:00
parent 03c3089787
commit 638e57399d

View file

@ -46,8 +46,8 @@ local pick_chezmoi = function()
local opts = {
items = items,
format = "filename",
confirm = function(_, item)
-- picker:close()
confirm = function(picker, item)
picker:close()
require("chezmoi.commands").edit({
targets = { item.text },
args = { "--watch" },