From 9c02aa9fb928c5b39ba27fab9daa4bafec4eec17 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 14 Aug 2026 18:52:57 -0400 Subject: [PATCH] docs(plugins): improve comment on neo-tree source merge handling --- lua/plugins/neotree.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/plugins/neotree.lua b/lua/plugins/neotree.lua index e976ba7..76f3128 100644 --- a/lua/plugins/neotree.lua +++ b/lua/plugins/neotree.lua @@ -172,7 +172,10 @@ return { }, }) -- deep merge of list values is index wise, so AstroNvim's extra sources - -- survive a `sources = { "filesystem" }` override: assign instead + -- survive a `sources = { "filesystem" }` override: assign instead. + -- (`:checkhealth neo-tree` then reports config.buffers/git_status + -- `renderers: expected ?, got nil` - stock neo-tree does the same with a + -- single source, those sections are simply never loaded.) opts.sources = { "filesystem" } -- git reports ignored paths in a second pass, and neo-tree's own -- GIT_STATUS_CHANGED handler only redraws the nodes it already has, so