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 = {
|
local opts = {
|
||||||
items = items,
|
items = items,
|
||||||
format = "filename",
|
format = "filename",
|
||||||
confirm = function(_, item)
|
confirm = function(picker, item)
|
||||||
-- picker:close()
|
picker:close()
|
||||||
require("chezmoi.commands").edit({
|
require("chezmoi.commands").edit({
|
||||||
targets = { item.text },
|
targets = { item.text },
|
||||||
args = { "--watch" },
|
args = { "--watch" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue