mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Use local variable fzf_lua when picking chezmoi files
This commit is contained in:
parent
453b36c706
commit
7f8b1d295d
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ local pick_chezmoi = function()
|
||||||
fzf_lua.actions.vimcmd_entry("ChezmoiEdit", selected, { cwd = os.getenv("HOME") })
|
fzf_lua.actions.vimcmd_entry("ChezmoiEdit", selected, { cwd = os.getenv("HOME") })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
require("fzf-lua").files({ cmd = "chezmoi managed --include=files,symlinks", actions = actions })
|
fzf_lua.files({ cmd = "chezmoi managed --include=files,symlinks", actions = actions })
|
||||||
elseif LazyVim.pick.picker.name == "snacks" then
|
elseif LazyVim.pick.picker.name == "snacks" then
|
||||||
local results = require("chezmoi.commands").list({
|
local results = require("chezmoi.commands").list({
|
||||||
args = {
|
args = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue