Skip to content

Commit 5bf038b

Browse files
committed
Merge branch 'master' of https://github.com/burntsushi/ripgrep
2 parents abf8dda + 9b01a8f commit 5bf038b

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

GUIDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,8 @@ used options that will likely impact how you use ripgrep on a regular basis.
992992
* `-S/--smart-case`: This is similar to `--ignore-case`, but disables itself
993993
if the pattern contains any uppercase letters. Usually this flag is put into
994994
alias or a config file.
995+
* `-F/--fixed-strings`: Disable regular expression matching and treat the pattern
996+
as a literal string.
995997
* `-w/--word-regexp`: Require that all matches of the pattern be surrounded
996998
by word boundaries. That is, given `pattern`, the `--word-regexp` flag will
997999
cause ripgrep to behave as if `pattern` were actually `\b(?:pattern)\b`.

crates/core/app.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ fn flag_field_context_separator(args: &mut Vec<RGArg>) {
12461246
Set the field context separator, which is used to delimit file paths, line
12471247
numbers, columns and the context itself, when printing contextual lines. The
12481248
separator may be any number of bytes, including zero. Escape sequences like
1249-
\\x7F or \\t may be used. The default value is -.
1249+
\\x7F or \\t may be used. The '-' character is the default value.
12501250
"
12511251
);
12521252
let arg = RGArg::flag("field-context-separator", "SEPARATOR")
@@ -1261,8 +1261,8 @@ fn flag_field_match_separator(args: &mut Vec<RGArg>) {
12611261
"\
12621262
Set the field match separator, which is used to delimit file paths, line
12631263
numbers, columns and the match itself. The separator may be any number of
1264-
bytes, including zero. Escape sequences like \\x7F or \\t may be used. The
1265-
default value is -.
1264+
bytes, including zero. Escape sequences like \\x7F or \\t may be used. The ':'
1265+
character is the default value.
12661266
"
12671267
);
12681268
let arg = RGArg::flag("field-match-separator", "SEPARATOR")
@@ -1567,7 +1567,7 @@ When specifying multiple ignore files, earlier files have lower precedence
15671567
than later files.
15681568
15691569
If you are looking for a way to include or exclude files and directories
1570-
directly on the command line, then used -g instead.
1570+
directly on the command line, then use -g instead.
15711571
"
15721572
);
15731573
let arg = RGArg::flag("ignore-file", "PATH")

crates/ignore/src/default_types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
4646
("cshtml", &["*.cshtml"]),
4747
("css", &["*.css", "*.scss"]),
4848
("csv", &["*.csv"]),
49+
("cuda", &["*.cu", "*.cuh"]),
4950
("cython", &["*.pyx", "*.pxi", "*.pxd"]),
5051
("d", &["*.d"]),
5152
("dart", &["*.dart"]),
@@ -225,6 +226,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
225226
("taskpaper", &["*.taskpaper"]),
226227
("tcl", &["*.tcl"]),
227228
("tex", &["*.tex", "*.ltx", "*.cls", "*.sty", "*.bib", "*.dtx", "*.ins"]),
229+
("texinfo", &["*.texi"]),
228230
("textile", &["*.textile"]),
229231
("tf", &["*.tf"]),
230232
("thrift", &["*.thrift"]),

0 commit comments

Comments
 (0)