Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard not substituted properly when using regex in :find command #91

Open
rqdmap opened this issue Apr 17, 2023 · 1 comment · May be fixed by #110
Open

Wildcard not substituted properly when using regex in :find command #91

rqdmap opened this issue Apr 17, 2023 · 1 comment · May be fixed by #110

Comments

@rqdmap
Copy link

rqdmap commented Apr 17, 2023

I'm using Neovim v0.9.0, with the latest nvim-cmp and cmp-cmdline plugin.

Without cmp-cmdline, when I use regular expression in :find for searching files, Neovim will substitute the wildcard for me automatically:

But now, with the default config nvim-cmp provided, when I try to use regex, cmp-cmdline didn't make the substitution:

  cmp.setup.cmdline(':', {
    mapping = cmp.mapping.preset.cmdline(),
    sources = cmp.config.sources({
      { name = 'path' }
    }, {
      { name = 'cmdline' }
    })
  })
@naquad
Copy link

naquad commented May 6, 2023

Same issue with :e **/file.txt.

@rqdmap rqdmap linked a pull request Mar 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants