patch 9.0.2053: zig filetype detection test wrong

Problem:  zig filetype detection test wrong
Solution: Remove .zir pattern, add new test for .zon pattern

closes: #13389

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
Gregory Anders
2023-10-19 19:57:57 +02:00
committed by Christian Brabandt
parent c6944913f0
commit a8c664a042
2 changed files with 3 additions and 2 deletions

View File

@ -813,10 +813,9 @@ def s:GetFilenameChecks(): dict<list<string>>
yang: ['file.yang'],
yuck: ['file.yuck'],
z8a: ['file.z8a'],
zig: ['file.zig'],
zig: ['file.zig', 'build.zig.zon'],
zimbu: ['file.zu'],
zimbutempl: ['file.zut'],
zir: ['file.zir'],
zserio: ['file.zs'],
zsh: ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh',
'.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc',

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2053,
/**/
2052,
/**/