1
0
forked from aniani/vim

patch 9.1.0777: filetype: Some upstream php files are not recognized

Problem:  filetype: Some upstream php files are not recognized
Solution: Detect more config files from the PHP source
          distribution as filetype ini (nisbet-hubbard).

closes: #15840

Signed-off-by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
nisbet-hubbard
2024-10-12 17:19:58 +02:00
committed by Christian Brabandt
parent 05d0893ed8
commit 367499c5c3
3 changed files with 4 additions and 2 deletions

View File

@@ -1800,7 +1800,7 @@ au BufNewFile,BufRead *.pod setf pod
au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt,*.theme setf php
" PHP config
au BufNewFile,BufRead php.ini-* setf dosini
au BufNewFile,BufRead php.ini-*,php-fpm.conf*,www.conf* setf dosini
" Pike and Cmod
au BufNewFile,BufRead *.pike,*.pmod setf pike