-
-
Notifications
You must be signed in to change notification settings - Fork 638
Description
Discussed in #3247
Originally posted by BerniSc January 23, 2026
Hi, first of all - thanks for all your amazing work on nvim-tree!
I’ve noticed that after the recent bookmark-update (commit: c89215d6a1107a3c0c134750be48657ba8e6a9aa), when I mark a folder and use the "show only marked" filter (default M), only the folder itself is shown, not its files or subfolders. Previously, marking a folder would also display all its contents when filtering for marked items.
| Current Behavior | Previous Behavior |
|---|---|
![]() |
![]() |
I really appreciated the previous behavior, as it made it easy to select specific folders from a large list and quickly compare their subfolders and files, without needing to use complex filters or patterns. For my workflow, the main benefit comes from being able to view and compare the contents of marked folders, rather than just the folders themselves.
Was this change intentional, or is it a regression? Is there a way to restore the old workflow, or a recommended approach for this usecase?
If you need any further debugging or testing, I’m happy to help!
Thanks again for your help!
minimal.lua if needed
---@diagnostic disable: missing-fields
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
local plugins = {
{
"nvim-tree/nvim-tree.lua",
-- Working on this commit. If commented: newest Version -> does not show subfolders/files
-- commit = "e66994d40db2d57c91bf9aeaee8bf7ab8b1131f6",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
},
}
require("lazy.minit").repro({ spec = plugins })
vim.g.mapleader = ' '
vim.keymap.set('n', '<leader>e', ':NvimTreeToggle<CR>')

