0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.1645: zserio files are not recognized

Problem:    zserio files are not recognized.
Solution:   Add a pattern for zserio files. (Dominique Pellé,
            closes #12544)
This commit is contained in:
=?UTF-8?q?Dominique=20Pell=C3=A9?= 2023-06-22 14:36:39 +01:00 committed by Bram Moolenaar
parent bd087ae8f0
commit 2b994da57a
3 changed files with 6 additions and 0 deletions

View File

@ -1961,6 +1961,9 @@ au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias
au BufNewFile,BufRead *.zig setf zig
au BufNewFile,BufRead *.zir setf zir
" Zserio
au BufNewFile,BufRead *.zs setf zserio
" Z-Shell script (patterns ending in a star further below)
au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh

View File

@ -801,6 +801,7 @@ def s:GetFilenameChecks(): dict<list<string>>
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',

View File

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