Patch 9.0.1678
Problem:    Blade files are not recognized.
Solution:   Add a pattern for Blade files. (closes #12650)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1677/runtime/filetype.vim        2023-06-26 22:05:33.291658094 
+0100
--- runtime/filetype.vim        2023-07-11 22:10:36.306918876 +0100
***************
*** 254,259 ****
--- 254,262 ----
  au BufNewFile,BufRead named.root              setf bindzone
  au BufNewFile,BufRead *.db                    call dist#ft#BindzoneCheck('')
  
+ " Blade
+ au BufNewFile,BufRead *.blade.php             setf blade
+ 
  " Blank
  au BufNewFile,BufRead *.bl                    setf blank
  
*** ../vim-9.0.1677/src/testdir/test_filetype.vim       2023-06-26 
22:05:33.291658094 +0100
--- src/testdir/test_filetype.vim       2023-07-11 22:03:20.647766478 +0100
***************
*** 122,127 ****
--- 122,128 ----
      bicep: ['file.bicep'],
      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'],
+     blade: ['file.blade.php'],
      blank: ['file.bl'],
      blueprint: ['file.blp'],
      bsdl: ['file.bsd', 'file.bsdl'],
*** ../vim-9.0.1677/src/version.c       2023-07-09 02:38:14.495188998 +0100
--- src/version.c       2023-07-11 22:07:23.075653481 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1678,
  /**/

-- 
Life would be so much easier if we could just look at the source code.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/20230717015206.8A67A1C095E%40moolenaar.net.

Raspunde prin e-mail lui