mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
ignore/types: improve 'vim' and 'vimscript' types
This adds various Vim config files to the glob patterns. PR #2044
This commit is contained in:
parent
427aaeeb2e
commit
ba535fb5a3
@ -21,7 +21,9 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
|
|||||||
("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]),
|
("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]),
|
||||||
("avro", &["*.avdl", "*.avpr", "*.avsc"]),
|
("avro", &["*.avdl", "*.avpr", "*.avsc"]),
|
||||||
("awk", &["*.awk"]),
|
("awk", &["*.awk"]),
|
||||||
("bazel", &["*.bazel", "*.bzl", "*.BUILD", "*.bazelrc", "BUILD", "WORKSPACE"]),
|
("bazel", &[
|
||||||
|
"*.bazel", "*.bzl", "*.BUILD", "*.bazelrc", "BUILD", "WORKSPACE",
|
||||||
|
]),
|
||||||
("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]),
|
("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]),
|
||||||
("brotli", &["*.br"]),
|
("brotli", &["*.br"]),
|
||||||
("buildstream", &["*.bst"]),
|
("buildstream", &["*.bst"]),
|
||||||
@ -243,8 +245,12 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
|
|||||||
("vcl", &["*.vcl"]),
|
("vcl", &["*.vcl"]),
|
||||||
("verilog", &["*.v", "*.vh", "*.sv", "*.svh"]),
|
("verilog", &["*.v", "*.vh", "*.sv", "*.svh"]),
|
||||||
("vhdl", &["*.vhd", "*.vhdl"]),
|
("vhdl", &["*.vhd", "*.vhdl"]),
|
||||||
("vim", &["*.vim"]),
|
("vim", &[
|
||||||
("vimscript", &["*.vim"]),
|
"*.vim", ".vimrc", ".gvimrc", "vimrc", "gvimrc", "_vimrc", "_gvimrc",
|
||||||
|
]),
|
||||||
|
("vimscript", &[
|
||||||
|
"*.vim", ".vimrc", ".gvimrc", "vimrc", "gvimrc", "_vimrc", "_gvimrc",
|
||||||
|
]),
|
||||||
("webidl", &["*.idl", "*.webidl", "*.widl"]),
|
("webidl", &["*.idl", "*.webidl", "*.widl"]),
|
||||||
("wiki", &["*.mediawiki", "*.wiki"]),
|
("wiki", &["*.mediawiki", "*.wiki"]),
|
||||||
("xml", &[
|
("xml", &[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user