summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredam <tim@ed.am>2022-09-09 22:23:42 +0100
committerAndrew Gallant <jamslam@gmail.com>2023-07-08 18:52:42 -0400
commit792451e3315e86fc66b1fd4eaeddf8433b6b32ac (patch)
treed6106401e8f24c51b2ee7a5e9c727fd95aba83a9
parent7dafd58a323e3162bf2518ac9bef329a97d16818 (diff)
ignore/types: added V type
V (http://vlang.io) uses '.v' files. Closes #2302
-rw-r--r--CHANGELOG.md2
-rw-r--r--crates/ignore/src/default_types.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d69b7406..4d80557f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written.
Feature enhancements:
-* Added or improved file type filtering for Elixir, Fuchsia, Gentoo, GraphQL, USD
+* Added or improved file type filtering for Elixir, Fuchsia, Gentoo, GraphQL, USD, V
* [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409):
Added installation instructions for `winget`.
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 587e989f..30cb6758 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -267,6 +267,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("txt", &["*.txt"]),
("typoscript", &["*.typoscript", "*.ts"]),
("usd", &["*.usd", "*.usda", "*.usdc"]),
+ ("v", &["*.v"]),
("vala", &["*.vala"]),
("vb", &["*.vb"]),
("vcl", &["*.vcl"]),