Skip to content

How to add a new file tpye in deadgrep? #167

@sfg

Description

@sfg

Hi all,

I defined some new file types (e.g. '.Rnw)' in /home/sven/.config/ripgrep/ripgreprc and run rg in a shell with

export RIPGREP_CONFIG_PATH=/home/sven/.config/ripgrep/ripgreprc
rg STRING --type Rnw

which is fine. But how can I do this with deadgrep in emacs? I have not found a way to make RIPGREP_CONFIG_PATHavailable in deadgrep and emacs, and therefore file-type Rnw is unknown by deadgrep.

Thanks in advance, Sven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions