0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.1918: No filetype detection for Authzed filetypes

Problem:  No filetype detection for Authzed filetypes
Solution: Detect the *.zed file extension as authzed filetype

closes: #13129

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Matt Polzin <mpolzin@workwithopal.com>
This commit is contained in:
Matt Polzin
2023-09-20 20:03:52 +02:00
committed by Christian Brabandt
parent d606fccf6f
commit 5790a54166
3 changed files with 6 additions and 0 deletions

View File

@@ -184,6 +184,9 @@ au BufNewFile,BufRead *.atl,*.as setf atlas
" Atom is based on XML
au BufNewFile,BufRead *.atom setf xml
" Authzed
au BufNewFile,BufRead *.zed setf authzed
" Autoit v3
au BufNewFile,BufRead *.au3 setf autoit

View File

@@ -107,6 +107,7 @@ def s:GetFilenameChecks(): dict<list<string>>
asterisk: ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'],
astro: ['file.astro'],
atlas: ['file.atl', 'file.as'],
authzed: ['schema.zed'],
autohotkey: ['file.ahk'],
autoit: ['file.au3'],
automake: ['GNUmakefile.am', 'makefile.am', 'Makefile.am'],

View File

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