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:
committed by
Christian Brabandt
parent
d606fccf6f
commit
5790a54166
@@ -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
|
||||
|
||||
|
@@ -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'],
|
||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1918,
|
||||
/**/
|
||||
1917,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user