Closed partounian closed 1 year ago
live_grep
doesnt use a sorter so it has no fuzzy finding functionality! Each prompt change goes directly to the rg
command and the output gets displayed.
If you want something equivalent to :Rg
you should look into :Telescope grep_string search=
which then does use a sorter (e.g. fzf-native)
Woah, interesting.
Then I wonder why live_grep using rg searches through files that rg is supposed to ignore? (I see results from .git
and other folders that I added to my home dir's .ignore
or .gitignore
)
I'll look into using grep_string and seeing if that performs differently, thanks!
This fixed my issues https://github.com/Allaman/nvim/commit/f5615bd40beaeba85ead20176d5e03b19aa42a3e
Is it possible to turn off fuzzy finding just for live_grep?