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

patch 9.1.0636: filetype: ziggy files are not recognized

Problem:  filetype: ziggy files are not recognized
Solution: detect '*.ziggy' files as ziggy filetype,
          detect '*.ziggy-schema' files as ziggy-schema filetype
          (EliSauder)

References: https://ziggy-lang.io/

fixes: #15355
closes: #15367

Signed-off-by: EliSauder <24995216+EliSauder@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
EliSauder 2024-07-28 21:32:38 +02:00 committed by Christian Brabandt
parent e57c9a19ed
commit f4572cee35
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
3 changed files with 8 additions and 0 deletions

View File

@ -2196,6 +2196,10 @@ au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias
" Zig and Zig Object Notation (ZON)
au BufNewFile,BufRead *.zig,*.zon setf zig
" Ziggy and Ziggy Schema
au BufNewFile,BufRead *.ziggy setf ziggy
au BufNewFile,BufRead *.ziggy-schema setf ziggy_schema
" Zserio
au BufNewFile,BufRead *.zs setf zserio

View File

@ -864,6 +864,8 @@ def s:GetFilenameChecks(): dict<list<string>>
z8a: ['file.z8a'],
zathurarc: ['zathurarc'],
zig: ['file.zig', 'build.zig.zon'],
ziggy: ['file.ziggy'],
ziggy_schema: ['file.ziggy-schema'],
zimbu: ['file.zu'],
zimbutempl: ['file.zut'],
zserio: ['file.zs'],

View File

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