packages: vim/vim-phpscript.patch, vim/vim.spec - recognize *.phpt

glen glen at pld-linux.org
Sun Oct 31 12:28:26 CET 2010


Author: glen                         Date: Sun Oct 31 11:28:26 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- recognize *.phpt

---- Files affected:
packages/vim:
   vim-phpscript.patch (1.1 -> 1.2) , vim.spec (1.530 -> 1.531) 

---- Diffs:

================================================================
Index: packages/vim/vim-phpscript.patch
diff -u packages/vim/vim-phpscript.patch:1.1 packages/vim/vim-phpscript.patch:1.2
--- packages/vim/vim-phpscript.patch:1.1	Thu Oct  9 02:16:17 2008
+++ packages/vim/vim-phpscript.patch	Sun Oct 31 12:28:21 2010
@@ -11,3 +11,15 @@
      " RCS/CVS log output
    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
+@@ -1326,7 +1326,8 @@
+ " Php, php3, php4, etc.
+ " Also Phtml (was used for PHP 2 in the past)
+ " Also .ctp for Cake template file
+-au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp	setf php
++" 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

================================================================
Index: packages/vim/vim.spec
diff -u packages/vim/vim.spec:1.530 packages/vim/vim.spec:1.531
--- packages/vim/vim.spec:1.530	Thu Oct 28 08:06:11 2010
+++ packages/vim/vim.spec	Sun Oct 31 12:28:21 2010
@@ -29,7 +29,7 @@
 
 %define		ver		7.3
 %define		patchlevel	047
-%define		rel			1
+%define		rel			2
 Summary:	Vi IMproved - a Vi clone
 Summary(de.UTF-8):	VIsual editor iMproved
 Summary(es.UTF-8):	Editor visual incrementado
@@ -1380,6 +1380,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.531  2010/10/31 11:28:21  glen
+- recognize *.phpt
+
 Revision 1.530  2010/10/28 06:06:11  glen
 - up to 7.3.047
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim-phpscript.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.530&r2=1.531&f=u



More information about the pld-cvs-commit mailing list