commit 3ea13bca14e7d89518f502fc42ef341f9eaf7f08
parent e6d352d8d7d8a987d0bd9b2e13bfd395e1127c3e
Author: Gregory Anders <greg@gpanders.com>
Date: Thu, 19 Oct 2023 13:05:09 -0500
vim-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: vim/vim#13389
https://github.com/vim/vim/commit/a8c664a042707e293d887d5b90f944f6fd5c99aa
Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
@@ -735,10 +735,9 @@ func s:GetFilenameChecks() abort
\ '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', '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'],
\