Closed ledesmablt closed 2 years ago
Telescope doesnt use sorters for live_grep
.
You can do Telescope grep_string search=
. Fuzzy live grep needs to be fixed in telescope core not here. We have it on our roadmap https://github.com/nvim-telescope/telescope.nvim/projects/2 https://github.com/nvim-telescope/telescope.nvim/issues/564
Appreciate the response, thanks!
because of this limitation, I still use fzf for string search.
I use grep_string
instead of live_grep
and this plugin works
Works completely fine for some commands like
find_files
but notlive_grep
(which I rely on the most).Link to my telescope config here
Proof:
Working for find_files (space is respected)![image](https://user-images.githubusercontent.com/22242264/149815777-688ada59-4797-45a3-80fd-ac70839ab200.png)
Not working for live_grep (space not respected)![image](https://user-images.githubusercontent.com/22242264/149815889-03189670-8e9b-47c6-b046-6ff0ec6728a4.png)
FZF :Rg behavior (desired, space is respected)![image](https://user-images.githubusercontent.com/22242264/149815931-584898ab-7b36-407a-9bbc-8eab000b06d9.png)