dajva / rg.el

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

use rg's `-e` option to tell rg to use the next arg as the pattern #16

Closed mbunkus closed 7 years ago

mbunkus commented 7 years ago

Otherwise patterns starting with dashes are interpreted by rg as the name of one of rg's option, most likely causing an error by rg that the option in question is unknown.

Fixes #15.

dajva commented 7 years ago

Makes sense. Thanks.