I want to search files that contains "A" but also "B", like live_grep on live_grep result.
I know I could achieve similar by RegExp, but it would be easier for me to search "A" and then "B" separately, step by step.
What I want to achieve is something like below(from TypeScript React Project):
- live_grep()
<Button>(from entire project directory) - Returns files containing Button component
- live_grep()
<Badge>(but only from files returned by 1.) - Returns files that contain Badge component but also Button component
I've managed to achieve the result by using telescope-live-grep-args.nvim extension and bit of lua coding.