telescope-live-grep-args.nvim
telescope-live-grep-args.nvim copied to clipboard
Bug: Neovim blocked when searching for common query
Hello!
I think there needs to be some control over the blocking search time. I accidentally typed $ instead of \$ (to search for a PHP variable), and Neovim froze for several minutes.
Yes, I have also encountered the same issue.
I have noticed a pattern where the program gets blocked while entering the second character. The CPU usage remains at 100% until the search is complete.
$ is a token for end of line in a pattern. There other dangerous tokens: ^ (start of line) and . (any char).
I think there should be a blocklist for prompts, that should not start a search. This can also be configurable.