r96 - in trunk/vim/debian: . patches

Pierre Habouzit madcoder-guest@costa.debian.org
Mon, 21 Mar 2005 13:48:32 +0100


Author: madcoder-guest
Date: 2005-03-21 13:48:30 +0100 (Mon, 21 Mar 2005)
New Revision: 96

Added:
   trunk/vim/debian/patches/110_php.vim.diff
Modified:
   trunk/vim/debian/changelog
Log:
php indent fix

Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2005-03-20 21:15:58 UTC (rev 95)
+++ trunk/vim/debian/changelog	2005-03-21 12:48:30 UTC (rev 96)
@@ -1,3 +1,10 @@
+vim (1:6.3-067+3) UNRELEASED; urgency=low
+
+  * Pierre Habouzit <pierre.habouzit@m4x.org>:
+    + Fix php indent plugin thanks to the ITLab at MUSC.  (closes: #282135)
+
+ -- Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>  Mon, 21 Mar 2005 13:46:57 +0100
+
 vim (1:6.3-067+2) unstable; urgency=medium
 
   * Norbert Tretkowski <nobse@debian.org>:

Added: trunk/vim/debian/patches/110_php.vim.diff
===================================================================
--- trunk/vim/debian/patches/110_php.vim.diff	2005-03-20 21:15:58 UTC (rev 95)
+++ trunk/vim/debian/patches/110_php.vim.diff	2005-03-21 12:48:30 UTC (rev 96)
@@ -0,0 +1,14 @@
+diff -Nrua vim63.orig/runtime/indent/php.vim vim63/runtime/indent/php.vim
+--- vim63.orig/runtime/indent/php.vim	2005-03-15 10:18:48.000000000 +0100
++++ vim63/runtime/indent/php.vim	2005-03-21 13:45:54.962543157 +0100
+@@ -79,9 +79,7 @@
+ 		" to the indent of the matching line.
+ 		if cline =~ '^\s*}'
+ 			call cursor(line('.'), 1)
+-			let ind = indent(searchpair('{', '', '}',
+-			'bW', 'synIDattr(synID(line("."), col("."),
+-			0), "name") =~? "string"'))
++			let ind = indent(searchpair('{', '', '}','bW', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string"'))
+ 			return ind
+ 		endif
+ 		" Try to indent switch/case statements as well