nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
20.17k stars 24.64k forks source link

Cfilter doesn't works #826

Closed componhead closed 8 months ago

componhead commented 8 months ago

From hash c4363e4

https://asciinema.org/a/mANXZHxikVJnYQqgxJ2j3RWvI

feoh commented 8 months ago

Nice animation!

Can you please try this:

Run neovim by typing: nvim --clean

and then repeating your use case?

I'm wondering if this is actually a neovim issue and not a kickstart issue. Also, could you please check to ensure that Telescope doesn't do what you want? I've never heard of cfilter before so sorry if this is a clueless ask.

dam9000 commented 8 months ago

Cfilter works fine for me, what are you trying to achieve?

The :Cfilter command creates a new quickfix list from the entries matching {pat} in the current quickfix list.

Your quickfix list did not contain any entry that would match dap-ui so Cfilter did not match anything. Try :Cfilter debug and it will reduce the quickfix list to just the debug.lua entry.

componhead commented 8 months ago

Cfilter works fine for me, what are you trying to achieve?

The :Cfilter command creates a new quickfix list from the entries matching {pat} in the current quickfix list.

Your quickfix list did not contain any entry that would match dap-ui so Cfilter did not match anything. Try :Cfilter debug and it will reduce the quickfix list to just the debug.lua entry.

Ok. I misunderstood the operation of the tool. Is there something for "refilter" an already filtered quickfix (by grepping for example) based on the entire file (and not the entry)?

feoh commented 8 months ago

Seems like this is working as designed :) Closing. Consider asking this question in a general Neovim forum. Look on neovim.org for a zillion options :)