vim-patch:9.0.1645: zserio files are not recognized (#24120)

Problem:    zserio files are not recognized.
Solution:   Add a pattern for zserio files. (Dominique Pellé,
            closes vim/vim#12544)

2b994da57a

Co-authored-by: =?UTF-8?q?Dominique=20Pell=C3=A9?= <dominique.pelle@gmail.com>
This commit is contained in:
Christian Clason 2023-06-22 19:38:49 +02:00 committed by GitHub
parent f0884f21fa
commit 904ad5458d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1174,6 +1174,7 @@ local extension = {
zir = 'zir',
zu = 'zimbu',
zut = 'zimbutempl',
zs = 'zserio',
zsh = 'zsh',
vala = 'vala',
web = function(path, bufnr)

View File

@ -697,6 +697,7 @@ let s:filename_checks = {
\ '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'],
\
\ 'help': [$VIMRUNTIME . '/doc/help.txt'],