diff --git a/lua/lazyvim/plugins/extras/util/chezmoi.lua b/lua/lazyvim/plugins/extras/util/chezmoi.lua index c2c3377f..99f9b82a 100644 --- a/lua/lazyvim/plugins/extras/util/chezmoi.lua +++ b/lua/lazyvim/plugins/extras/util/chezmoi.lua @@ -3,10 +3,10 @@ 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, + 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",