forked from aniani/vim
patch 8.2.1409: nmpmrc and php.ini filetypes not recognized
Problem: Nmpmrc and php.ini filetypes not recognized. Solution: Add filetype detection. (Doug Kearns)
This commit is contained in:
@@ -1093,6 +1093,9 @@ au BufNewFile,BufRead .netrc setf netrc
|
||||
" Ninja file
|
||||
au BufNewFile,BufRead *.ninja setf ninja
|
||||
|
||||
" NPM RC file
|
||||
au BufNewFile,BufRead npmrc,.npmrc setf dosini
|
||||
|
||||
" Novell netware batch files
|
||||
au BufNewFile,BufRead *.ncf setf ncf
|
||||
|
||||
@@ -1199,6 +1202,9 @@ au BufNewFile,BufRead *.pod6 setf pod6
|
||||
" Also .ctp for Cake template file
|
||||
au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php
|
||||
|
||||
" PHP config
|
||||
au BufNewFile,BufRead php.ini,php.ini-* setf dosini
|
||||
|
||||
" Pike and Cmod
|
||||
au BufNewFile,BufRead *.pike,*.pmod setf pike
|
||||
au BufNewFile,BufRead *.cmod setf cmod
|
||||
|
||||
Reference in New Issue
Block a user