]> git.pld-linux.org Git - packages/vim.git/blob - vim-phpscript.patch
- updated to 7.2.102
[packages/vim.git] / vim-phpscript.patch
1 --- vim72/runtime/scripts.vim~  2008-10-09 03:12:50.000000000 +0300
2 +++ vim72/runtime/scripts.vim   2008-10-09 03:12:54.703954160 +0300
3 @@ -246,6 +246,10 @@
4    elseif s:line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
5      set ft=xxd
6  
7 +    " PHP script tag
8 +  elseif s:line1 =~ '^<?php'
9 +    set ft=php
10 +
11      " RCS/CVS log output
12    elseif s:line1 =~ '^RCS file:' || s:line2 =~ '^RCS file:'
13      set ft=rcslog
This page took 0.020905 seconds and 3 git commands to generate.