patch 9.0.1918: No filetype detection for Authzed filetypes
Commit:
https://github.com/vim/vim/commit/5790a54166793554d16f6a85d8824632860b8b37
Author: Matt Polzin <[email protected]>
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 <[email protected]>
Co-authored-by: Matt Polzin <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qj1j8-003lEw-0L%40256bit.org.