mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(chezmoi): close picker before opening chezmoi file
This commit is contained in:
parent
03c3089787
commit
638e57399d
1 changed files with 2 additions and 2 deletions
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue