Hi,
Locate vim's filetype.vim file (/usr/share/vim/vim62/filetype.vim or alike).
Open it and look for the following lines
" Php3
au BufNewFile,BufRead *.php,*.php3 setf php
Add .somethingelse to *.php,*.php3
You should end up with something like this:
" Php3
au BufNewFile,BufRead *.php,*.php3,*.somethingelse setf php
That should do the trick.
Hope this helps.
|