Skip to content

fff.nvim crashes neovim when opened from home directory #567

@umibear

Description

@umibear

Opening neovim directly from home directory causes immediate crash. This is a hard crash — neovim exits completely.

In logs i can see

ERROR fff_search::file_picker: Refusing to index home directory: /home/user
ERROR fff_nvim::error: string_value="Can not run certain FFF features in a file system root or home directories. Consider smaller per-project directories."

=== CRASH SIGSEGV ===
signal 11
0:
1:
=== CRASH END SIGSEGV ===

Steps to Reproduce

  1. Open a terminal in your home directory (cd ~)
  2. Run nvim .zshrc (or any file in ~)
  3. Neovim crashes immediately

Health command from neovim inside my dotfiles as i cant run that in home.
fff.nvim ~

  • ✅ OK Binary loaded successfully from: /home/user/.local/share/nvim/lazy/fff.nvim/lua/../target/release/libfff_nvim.so
  • ✅ OK fff.nvim version: 0.9.0
  • ✅ OK libgit2 available (version: 1.9.2)
  • ✅ OK Git repository found: /home/user/.dotfiles/
  • ✅ OK File picker initialized (ready, 299 files indexed, base: /home/user/.dotfiles)
  • ✅ OK Frecency database operational (76 entries, 52.0 KB, path: /home/user/.cache/nvim/fff_nvim)
  • ✅ OK Query cache database operational (8 query-file mappings, 4 history entries, 60.0 KB, path: /home/user/.local/share/nvim/fff_queries)
  • ✅ OK Image preview available via snacks.nvim
  • ✅ OK Filetype icons available via nvim-web-devicons

NVIM v0.12.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions