vim-patch:9.0.1014: zir files are not recognized (#21301)

Problem:    Zir files are not recognized.
Solution:   Add a pattern for Zir files. (closes vim/vim#11664)

25201016d5

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
Gregory Anders 2022-12-05 15:54:32 -07:00 committed by GitHub
parent f3bf1fbf60
commit 0ff9131a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1122,6 +1122,7 @@ local extension = {
yang = 'yang',
['z8a'] = 'z8a',
zig = 'zig',
zir = 'zir',
zu = 'zimbu',
zut = 'zimbutempl',
zsh = 'zsh',

View File

@ -653,6 +653,7 @@ let s:filename_checks = {
\ 'zig': ['file.zig'],
\ 'zimbu': ['file.zu'],
\ 'zimbutempl': ['file.zut'],
\ 'zir': ['file.zir'],
\ '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'],
\
\ 'help': [$VIMRUNTIME . '/doc/help.txt'],