mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Update lua/lazyvim/plugins/extras/util/chezmoi.lua
Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
This commit is contained in:
parent
27b81f5962
commit
30366ba21d
1 changed files with 4 additions and 9 deletions
|
|
@ -3,14 +3,9 @@ return {
|
||||||
{
|
{
|
||||||
-- highlighting for chezmoi files template files
|
-- highlighting for chezmoi files template files
|
||||||
"alker0/chezmoi.vim",
|
"alker0/chezmoi.vim",
|
||||||
opts = {
|
init = function()
|
||||||
use_tmp_buffer = true,
|
vim.g.chezmoi#use_tmp_buffer = 1
|
||||||
source_dir_path = os.getenv("HOME") .. "/.local/share/chezmoi",
|
vim.g.chezmoi#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,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue