Fork me on GitHub
#spacemacs
<
2020-11-12
>
Karol Wójcik10:11:09

Does anyone knows how can I limit counsel/ivy search to only specified file extension?

zane03:11:19

@UJ1339K2B For e.g. counsel-rg you can pass additional arguments to rg by putting them after --. So, for example, you could SPC SPC counsel-rg RET then type def -- -g*.cljc to only search .cljc files.

❤️ 3
Karol Wójcik09:11:56

Thank you very much @U050CT4HR. That works!