Add chezmoi.vim

This commit is contained in:
Maximilian Friedersdorff 2025-10-01 09:12:55 +01:00
parent f5ed7c0343
commit 662418b0b9

View file

@ -3,6 +3,15 @@ local pick_chezmoi = function()
end end
return { return {
{
-- highlighting for chezmoi files template files
"alker0/chezmoi.vim",
init = function()
vim.g["chezmoi#use_tmp_buffer"] = 1
vim.g["chezmoi#source_dir_path"] = os.getenv("HOME") .. "/.local/share/chezmoi"
end,
},
{
"xvzc/chezmoi.nvim", "xvzc/chezmoi.nvim",
dependencies = { "nvim-lua/plenary.nvim" }, dependencies = { "nvim-lua/plenary.nvim" },
keys = { keys = {
@ -34,4 +43,5 @@ return {
end, end,
}) })
end, end,
},
} }