Closed afterlook closed 2 years ago
live_grep
doesn't use a sorter, so it doesn't use fzf_native
.
But its most likely the previewer, trying to preview a file and highlighting takes forever. That happens for me with min.js
files. What i do is :Telescope live_grep previewer=false
and then i toggle the previewer as soon as i need it. You need to map toggle previewer see :help telescope.actions.layout.toggle_preview()
Hope that helps, if not maybe open a new issue in telescope.nvim project. Thanks :)
live_grep
doesn't use a sorter, so it doesn't usefzf_native
.
oh that's why live_grep can't use fzf syntax. Thanks for pointing out
Description
I have a very specific case where live grep starts to slow down a lot to a point that it hangs after every keystroke and is not usable at all.
This only happens when neovim is opened in this specific repository https://github.com/kumahq/kuma. Any live search will slow down after 3-5 characters or hang completely.
It doesn't happen when for example I open neovim in a directory with multiple repositories including the before mentioned kuma.
It doesn't happen when I run exact searches from root for a whole filesystem.
Neovim version
NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3
Operating system and version
macOS 12.4
Reproduce
Default configuration