mfussenegger / nvim-fzy

Fuzzy picker & vim.ui.select implementation via fzy for neovim
GNU General Public License v3.0
55 stars 4 forks source link

Add live grep sink #17

Closed hesseltuinhof closed 2 years ago

hesseltuinhof commented 2 years ago

@mfussenegger, this is basically your proposed snippet in #15. The additional string match enforces the expected selection format, namely {filename} : {line-number} : {search-preview}, and maps the search input to nil if zero results are found.

I have added usage examples for ag and rg to the documentation and tested both while working on finishing my personal Neovim config.

What do you think about adding this to the main branch?

mfussenegger commented 2 years ago

Left a suggestion, otherwise lgtm