patch 9.0.1678: blade files are not recognized

Problem:    Blade files are not recognized.
Solution:   Add a pattern for Blade files. (closes #12650)

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
ObserverOfTime
2023-08-07 03:21:48 +09:00
committed by K.Takata
parent 4c0089d696
commit ad34abee25
3 changed files with 6 additions and 0 deletions

View File

@ -254,6 +254,9 @@ au BufNewFile,BufRead named*.conf,rndc*.conf,rndc*.key setf named
au BufNewFile,BufRead named.root setf bindzone au BufNewFile,BufRead named.root setf bindzone
au BufNewFile,BufRead *.db call dist#ft#BindzoneCheck('') au BufNewFile,BufRead *.db call dist#ft#BindzoneCheck('')
" Blade
au BufNewFile,BufRead *.blade.php setf blade
" Blank " Blank
au BufNewFile,BufRead *.bl setf blank au BufNewFile,BufRead *.bl setf blank

View File

@ -122,6 +122,7 @@ def s:GetFilenameChecks(): dict<list<string>>
bicep: ['file.bicep'], bicep: ['file.bicep'],
bindzone: ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'], bindzone: ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'],
bitbake: ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf'], bitbake: ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf'],
blade: ['file.blade.php'],
blank: ['file.bl'], blank: ['file.bl'],
blueprint: ['file.blp'], blueprint: ['file.blp'],
bsdl: ['file.bsd', 'file.bsdl'], bsdl: ['file.bsd', 'file.bsdl'],

View File

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