nvim-neo-tree/neo-tree.nvim

BUG: fuzzy find does not take always_show into account

Open

#1453 opened on May 1, 2024

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Lua (5,436 stars) (291 forks)batch import
buggood-first-issuehelp wantedwontfix

Description

Did you check docs and existing issues?

  • I have read all the docs.
  • I have searched the existing issues.
  • I have searched the existing discussions.

Neovim Version (nvim -v)

0.9.5

Operating System / Version

linux x86-64

Describe the Bug

Filtering or fuzzy search in the neotree pane does not find files that are always_show configured. Default keybinding / for fuzzy search (I think).

Configure filesystem.filtered_items.always_show = {".gitignore"}.

The .gitignore file is visible in the default neotree view. When fuzzy finding with /, it's not possible to find the file. If I enable hidden files, then it's possible to fuzzy find it.

Screenshots, Traceback

neotree version 3.25.0 7aad1bf using lazy.nvim

Steps to Reproduce

  1. Configure filesystem.filtered_items.always_show = {".gitignore"}
  2. Verify .gitignore is always visible
  3. Use fuzzy find

Expected Behavior

.gitignore is visible in default view with this configuration so it's expected to be findable with /

Your Configuration

NA, I'm sorry

Contributor guide