fix: dashboard doom 主题报错 nil index
- center desc 格式必须是 '字母 描述',doom 主题会从中解析 key - 原来写 '查找文件' 导致 gen_center_highlights_and_keys 解析 nil - 改为 'f 查找文件' 格式
This commit is contained in:
+6
-6
@@ -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" },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user