Patch 8.2.4708
Problem: PHP test files are not recognized.
Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4707/runtime/filetype.vim 2022-04-06 18:57:34.119958768
+0100
--- runtime/filetype.vim 2022-04-07 15:57:46.810436147 +0100
***************
*** 1352,1360 ****
au BufNewFile,BufRead *.pod setf pod
" Php, php3, php4, etc.
! " Also Phtml (was used for PHP 2 in the past)
! " Also .ctp for Cake template file
! au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php
" PHP config
au BufNewFile,BufRead php.ini-* setf dosini
--- 1352,1361 ----
au BufNewFile,BufRead *.pod setf pod
" Php, php3, php4, etc.
! " Also Phtml (was used for PHP 2 in the past).
! " Also .ctp for Cake template file.
! " Also .phpt for php tests.
! au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt setf php
" PHP config
au BufNewFile,BufRead php.ini-* setf dosini
*** ../vim-8.2.4707/src/testdir/test_filetype.vim 2022-04-06
18:57:34.119958768 +0100
--- src/testdir/test_filetype.vim 2022-04-07 15:58:08.270395565 +0100
***************
*** 396,402 ****
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc',
'.gitolite.rc', 'example.gitolite.rc'],
\ 'pf': ['pf.conf'],
\ 'pfmain': ['main.cf'],
! \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
\ 'lpc': ['file.lpc', 'file.ulpc'],
\ 'pike': ['file.pike', 'file.pmod'],
\ 'cmod': ['file.cmod'],
--- 396,402 ----
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc',
'.gitolite.rc', 'example.gitolite.rc'],
\ 'pf': ['pf.conf'],
\ 'pfmain': ['main.cf'],
! \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp', 'file.phpt'],
\ 'lpc': ['file.lpc', 'file.ulpc'],
\ 'pike': ['file.pike', 'file.pmod'],
\ 'cmod': ['file.cmod'],
*** ../vim-8.2.4707/src/version.c 2022-04-07 15:07:42.684524332 +0100
--- src/version.c 2022-04-07 15:59:31.626238308 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4708,
/**/
--
ERIC IDLE PLAYED: THE DEAD COLLECTOR, MR BINT (A VILLAGE NE'ER-DO -WELL VERY
KEEN ON BURNING WITCHES), SIR ROBIN, THE GUARD WHO DOESN'T
HICOUGH BUT TRIES TO GET THINGS STRAIGHT, CONCORDE (SIR
LAUNCELOT'S TRUSTY STEED), ROGER THE SHRUBBER (A SHRUBBER),
BROTHER MAYNARD
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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/20220407150149.769551C19BB%40moolenaar.net.