Update lua/lazyvim/plugins/extras/util/chezmoi.lua

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
This commit is contained in:
Feliche-Demian Netliukh 2024-06-11 16:09:45 +01:00 committed by GitHub
parent 27b81f5962
commit 30366ba21d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,15 +3,10 @@ return {
{
-- highlighting for chezmoi files template files
"alker0/chezmoi.vim",
opts = {
use_tmp_buffer = true,
source_dir_path = os.getenv("HOME") .. "/.local/share/chezmoi",
},
config = function(_, opts)
for key, value in pairs(opts) do
vim.g["chezmoi#" .. key] = value
end
end,
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",