-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathripgreprc
More file actions
27 lines (22 loc) · 776 Bytes
/
ripgreprc
File metadata and controls
27 lines (22 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ripgrep config file, must be used with RIPGREP_CONFIG_PATH=/path/to/ripgreprc in the environment.
# Every uncommented line is treated as a single argv, no quoting needed, but this also means that
# there's no arg splitting on spaces in a single line.
# rg defaults to case-sensitive, unlike ag
--smart-case
# skip gitignore by default, invert with --ignore-vcs
--no-ignore-vcs
# colors to mimic ag
--colors=match:fg:magenta
--colors=line:fg:yellow
--colors=path:fg:green
# add overlay to devicetree and dts
--type-add=devicetree:*.overlay
--type-add=dts:*.overlay
# type aliases
--type-add=bb:include:bitbake
--type-add=cxx:include:cpp
--type-add=kconf:include:kconfig
--type-clear=mk
--type-add=mk:include:make
--type-add=patch:include:diff
--type-add=rs:include:rust