1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-09-16 08:26:28 +02:00

ignore/types: include missing files for the tf type

Existing matches were too restrictives, so we simplify those to every
type of tfvars file we can encounter.

Closes #3117
This commit is contained in:
Porkepix
2025-07-31 14:34:23 +02:00
committed by Andrew Gallant
parent b113c6e141
commit 9631acf6b4

View File

@@ -288,9 +288,8 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["texinfo"], &["*.texi"]),
(&["textile"], &["*.textile"]),
(&["tf"], &[
"*.tf", "*.auto.tfvars", "terraform.tfvars", "*.tf.json",
"*.auto.tfvars.json", "terraform.tfvars.json", "*.terraformrc",
"terraform.rc", "*.tfrc", "*.terraform.lock.hcl",
"*.tf", "*.tf.json", "*.tfvars", "*.tfvars.json",
"*.terraformrc", "terraform.rc", "*.tfrc", "*.terraform.lock.hcl",
]),
(&["thrift"], &["*.thrift"]),
(&["toml"], &["*.toml", "Cargo.lock"]),