Skip to content

bug: documentation: "fd" dependency for editor.snacks_picker on Windows 11 #6126

Open
LazyVim/lazyvim.github.io
#147
@AmmoniumX

Description

@AmmoniumX

Did you check docs and existing issues?

  • I have read all the LazyVim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of LazyVim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.11.1

Operating system/version

Windows 11

Describe the bug

re: folke/snacks.nvim#1563
The editor.snacks_picker extra (which is included by default) does not work out of the box on Windows 11, for that you need to install a compatible find or fd (such as winget install sharkdp.fd).

Without it, it will just display an error:

Command failed:
- cmd: `find . -type f -not -path */.git/* -not -path */.*`

It would be great if https://www.lazyvim.org/#%EF%B8%8F-requirements could specify that fd is a necessary dependency (currently it is only listed as "optional" under fzf-lua)

Steps To Reproduce

  1. Install the LazyVim Starter on Windows 11
  2. Open the picker (example: <space><space>)
  3. Observe error and no files listed

Expected Behavior

Either:

Repro

-- default init.lua from LazyVim starter
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions