vim-patch:9.0.1918

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: vim/vim#13129

5790a54166

Co-authored-by: Matt Polzin <mpolzin@workwithopal.com>
This commit is contained in:
Christian Clason 2023-09-20 23:42:25 +02:00
parent 23c21e7630
commit 473d0aa3e6
2 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,7 @@ local extension = {
astro = 'astro', astro = 'astro',
atl = 'atlas', atl = 'atlas',
as = 'atlas', as = 'atlas',
zed = 'authzed',
ahk = 'autohotkey', ahk = 'autohotkey',
au3 = 'autoit', au3 = 'autoit',
ave = 'ave', ave = 'ave',

View File

@ -97,6 +97,7 @@ func s:GetFilenameChecks() abort
\ 'asterisk': ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'], \ 'asterisk': ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'],
\ 'astro': ['file.astro'], \ 'astro': ['file.astro'],
\ 'atlas': ['file.atl', 'file.as'], \ 'atlas': ['file.atl', 'file.as'],
\ 'authzed': ['file.zed'],
\ 'autohotkey': ['file.ahk'], \ 'autohotkey': ['file.ahk'],
\ 'autoit': ['file.au3'], \ 'autoit': ['file.au3'],
\ 'automake': ['GNUmakefile.am', 'makefile.am', 'Makefile.am'], \ 'automake': ['GNUmakefile.am', 'makefile.am', 'Makefile.am'],