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:
parent
e57c9a19ed
commit
f4572cee35
@ -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
|
||||
|
||||
|
@ -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'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
636,
|
||||
/**/
|
||||
635,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user