]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-phpscript.patch
rediff patches
[packages/vim.git] / vim-phpscript.patch
index d342b0e524c472753b922211afeaf908d7633844..c38719a08d1059dd14755527114bfa0b2a7b231d 100644 (file)
@@ -1,7 +1,7 @@
 --- vim72/runtime/scripts.vim~ 2008-10-09 03:12:50.000000000 +0300
 +++ vim72/runtime/scripts.vim  2008-10-09 03:12:54.703954160 +0300
 @@ -246,6 +246,10 @@
-   elseif s:line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
+   elseif s:line1 =~# '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
      set ft=xxd
  
 +    " PHP script tag
@@ -9,7 +9,7 @@
 +    set ft=php
 +
      " RCS/CVS log output
-   elseif s:line1 =~ '^RCS file:' || s:line2 =~ '^RCS file:'
+   elseif s:line1 =~# '^RCS file:' || s:line2 =~# '^RCS file:'
      set ft=rcslog
 --- vim73/runtime/filetype.vim~        2010-10-31 13:26:19.000000000 +0200
 +++ vim73/runtime/filetype.vim 2010-10-31 13:27:17.615314321 +0200
@@ -21,5 +21,5 @@
 +" Also .phpt for PHP Test files
 +au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt      setf php
  
- " Pike
- au BufNewFile,BufRead *.pike,*.lpc,*.ulpc,*.pmod setf pike
+ " PHP config
+ au BufNewFile,BufRead php.ini-*                       setf dosini
This page took 0.036278 seconds and 4 git commands to generate.