More YAML file patterns

Fixes #913
pull/919/head
Wilfred Hughes 2025-11-14 16:14:50 +07:00
parent 683dbe5a1b
commit 3e567b001d
2 changed files with 3 additions and 1 deletions

@ -8,6 +8,8 @@ Solidity parsers.
Improved handling of variable names `$foo` in shell scripts.
Improved detection of YAML files.
### Diffing
Improved subword highlighting for words with hyphens.

@ -414,7 +414,7 @@ pub(crate) fn language_globs(language: Language) -> Vec<glob::Pattern> {
".cproject",
".project",
],
Yaml => &["*.yaml", "*.yml"],
Yaml => &["*.yaml", "*.yml", "yarn.lock", "CITATION.cff"],
Zig => &["*.zig"],
};