From b20fb710c11c06aac7761befe2a6bba15f022d62 Mon Sep 17 00:00:00 2001 From: qw457812 <37494864+qw457812@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:09:35 +0800 Subject: [PATCH] fix(chezmoi): typo --- lua/lazyvim/plugins/extras/util/chezmoi.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/lazyvim/plugins/extras/util/chezmoi.lua b/lua/lazyvim/plugins/extras/util/chezmoi.lua index 633f3008..15717f52 100644 --- a/lua/lazyvim/plugins/extras/util/chezmoi.lua +++ b/lua/lazyvim/plugins/extras/util/chezmoi.lua @@ -68,15 +68,15 @@ return { "nvimdev/dashboard-nvim", optional = true, opts = function(_, opts) - local projects = { + local chezmoi = { action = pick_chezmoi, desc = " Config", icon = "", key = "c", } - projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc) - projects.key_format = " %s" + chezmoi.desc = chezmoi.desc .. string.rep(" ", 43 - #chezmoi.desc) + chezmoi.key_format = " %s" -- remove lazyvim config property for i = #opts.config.center, 1, -1 do @@ -85,7 +85,7 @@ return { end end - table.insert(opts.config.center, 5, projects) + table.insert(opts.config.center, 5, chezmoi) end, },