From d24551d9665af836975a8437df69cc4acf8c84b9 Mon Sep 17 00:00:00 2001 From: Super_Z <1401203083@qq.com> Date: Thu, 16 Jul 2026 14:55:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20dashboard=20doom=20=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=8A=A5=E9=94=99=20nil=20index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - center desc 格式必须是 '字母 描述',doom 主题会从中解析 key - 原来写 '查找文件' 导致 gen_center_highlights_and_keys 解析 nil - 改为 'f 查找文件' 格式 --- lua/plugins/ui.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index e8eb187..3380a18 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -193,12 +193,12 @@ return { "", }, center = { - { icon = " ", key = "f", desc = "查找文件", action = "Telescope find_files" }, - { icon = " ", key = "r", desc = "最近文件", action = "Telescope oldfiles" }, - { icon = " ", key = "g", desc = "全局搜索", action = "Telescope live_grep" }, - { icon = " ", key = "l", desc = "插件管理", action = "Lazy" }, - { icon = " ", key = "m", desc = "LSP 管理", action = "Mason" }, - { icon = " ", key = "q", desc = "退出", action = "qa" }, + { icon = " ", key = "f", desc = "f 查找文件", action = "Telescope find_files" }, + { icon = " ", key = "r", desc = "r 最近文件", action = "Telescope oldfiles" }, + { icon = " ", key = "g", desc = "g 全局搜索", action = "Telescope live_grep" }, + { icon = " ", key = "l", desc = "l 插件管理", action = "Lazy" }, + { icon = " ", key = "m", desc = "m LSP 管理", action = "Mason" }, + { icon = " ", key = "q", desc = "q 退出", action = "qa" }, }, footer = { " atdunbg · Neovim" }, },