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

Fuzzy filtering doesn't work #86

Closed
deanishe opened this issue Oct 13, 2022 · 2 comments
Closed

Fuzzy filtering doesn't work #86

deanishe opened this issue Oct 13, 2022 · 2 comments

Comments

@deanishe
Copy link

This plugin looks like exactly what I'm after. Hope I can get it working…

I've installed Snap, and it opens windows okay, but it doesn't filter the results against my search query:

image

As I understand it, there should be no results because nothing matches the query I've entered: "filter". The results list, once loaded, does not change when the query changes.

Here's a minimal init.lua that still exhibits the issue (on my machine). I copy-pasted the Snaps from the README:

require('packer').startup(function(use)
    use { 'wbthomason/packer.nvim' }
    use { 'camspiers/snap' }
end)

vim.g.mapleader = " "

local snap = require'snap'
snap.maps {
  {"<Leader><Leader>", snap.config.file {producer = "ripgrep.file"}},
  {"<Leader>fb", snap.config.file {producer = "vim.buffer"}},
  {"<Leader>fo", snap.config.file {producer = "vim.oldfile"}},
  {"<Leader>ff", snap.config.vimgrep {}},
}

My neovim version is:

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.0/share/nvim"

Run :checkhealth for more info

Is there any other info I can provide? I'm afraid I don't know really how to debug Neovim plugins.

@nashio
Copy link

nashio commented Nov 21, 2022

Same issue, could it be related to the version of neovim?, I'm also using 8

@kenranunderscore
Copy link

Same here, on the development version of neovim.

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

No branches or pull requests

4 participants