patch 9.0.1918: No filetype detection for Authzed filetypes
Commit:
https://github.com/vim/vim/commit/5790a54166793554d16f6a85d8824632860b8b37
Author: Matt Polzin <
mpo...@workwithopal.com>
Date: Wed Sep 20 20:03:52 2023 +0200
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 <
c...@256bit.org>
Co-authored-by: Matt Polzin <
mpo...@workwithopal.com>
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 4b5838123..9bf84e29f 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 79065a036..d9fd919d0 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
diff --git a/src/version.c b/src/version.c
index 7a42aee0e..1ca184268 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1918,
/**/
1917,
/**/