Skip to content

[BUG] File discovery broken #173

@vsantalov

Description

@vsantalov

Bug Description

@somefilename no longer works after claude code switched to native installer

To Reproduce

Steps to reproduce the behavior:

  1. Start Claude Code integration in snacks with 'space-ac'
  2. Run command '@somefilename'
  3. See that nothing is available in the dropdown

But if you instead specify the relative path to local dir:
@./somefilename you will get the drop down, however upon file selection the @ symbol is still in the prompt.

Expected Behavior

@somefilename should give a dropdown that resolves the chosen file to its full name without @.

Environment

  • Neovim version: [0.11.5]
  • Claude Code CLI version: [2.1.17]
  • OS: [fedora 43]
  • Plugin version: [0.3.0]

Error Messages

no errors

Additional Context

I am using default configs from readme.md for lazyvim snacks
I tried with the git_repo_cwd = true, and wd_provider - no difference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions