]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.2053: zig filetype detection test wrong v9.0.2053
authorGregory Anders <greg@gpanders.com>
Thu, 19 Oct 2023 17:57:57 +0000 (19:57 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 19 Oct 2023 17:57:57 +0000 (19:57 +0200)
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>
src/testdir/test_filetype.vim
src/version.c

index dbaf9696f16ae3ed51c3a42602935a09590115dc..ce4d5ea2cff0c272e88ad72f7a2a485b655e26e2 100644 (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',
index 34eb37a5f38ee1e78177b82d61c36a8d72b9f852..fa01991436dd71e991438f93b6248553c8d0fa3e 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2053,
 /**/
     2052,
 /**/