dajva / rg.el

Emacs search tool based on ripgrep
https://rgel.readthedocs.io
GNU General Public License v3.0
470 stars 38 forks source link

Searching in hidden files by default. #108

Closed grolongo closed 3 years ago

grolongo commented 3 years ago

Hello,

I can't figure out how to enable the --hidden flag by default for rg in Emacs.

When I use :flags ("--hidden") in a rg-define-search function everything works fine.

When I add (setq rg-command-line-flags "--hidden") in my init.el and then doing a random search I get a:

Wrong type argument: sequencep, 45 error.

Did I read the docs wrong? I'm a bit lost here.

Thanks for your help.

grolongo commented 3 years ago

Nevermind, this was just a typing error.

(setq rg-command-line-flags '("--hidden")) works as expected.