From 9b1920eaf1f52cde8c99d2d4d6698ece09b39d83 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sat, 31 May 2025 15:43:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=20nvim:=20neo-tree=E8=AA=BF=E6=95=B4?= =?UTF-8?q?=E5=B1=95=E9=96=8B=E5=BE=8Ctree=E7=B7=9A=E6=A2=9D=E9=A1=8F?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exact_lua/exact_plugins/exact_components/neo-tree.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_components/neo-tree.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_components/neo-tree.lua index ff41735..0318b6b 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_components/neo-tree.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_components/neo-tree.lua @@ -513,6 +513,11 @@ return { return old_set_win(self, window) end + -- 調整展開後tree線條顏色 + vim.api.nvim_set_hl(0, "NeoTreeIndentMarker", { fg = "#3c3c3c" }) + -- vim.api.nvim_set_hl(0, "NeoTreeExpander", { fg = "#00FF00" }) + -- vim.api.nvim_set_hl(0, "NeoTreeNormal", { fg = "#FFFFFF" }) + -- vim.keymap.set("n", "e", "Neotree reveal") -- 自動命令:啟動時自動顯示 Neo-tree