r311 - in trunk/vim/debian: . patches

Stefano Zacchiroli zack at costa.debian.org
Mon Sep 19 20:06:39 UTC 2005


Author: zack
Date: 2005-09-19 20:06:38 +0000 (Mon, 19 Sep 2005)
New Revision: 311

Added:
   trunk/vim/debian/patches/144_scripts.vim.diff
Modified:
   trunk/vim/debian/changelog
Log:
support for highlighting tla diffs


Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2005-09-19 19:54:53 UTC (rev 310)
+++ trunk/vim/debian/changelog	2005-09-19 20:06:38 UTC (rev 311)
@@ -14,6 +14,8 @@
       to Debian NEWS files. (closes: #328081)
     + Added patch 143_eruby.vim.diff, which adds support for eruby
       highlighting. (closes: #315902)
+    + Added patch 144_scripts.vim.diff, which adds support for
+      highlighting tla diffs.  (closes: #305677)
 
  -- Debian VIM Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>  Sat, 03 Sep 2005 01:11:09 +0200
 

Added: trunk/vim/debian/patches/144_scripts.vim.diff
===================================================================
--- trunk/vim/debian/patches/144_scripts.vim.diff	2005-09-19 19:54:53 UTC (rev 310)
+++ trunk/vim/debian/patches/144_scripts.vim.diff	2005-09-19 20:06:38 UTC (rev 311)
@@ -0,0 +1,11 @@
+diff -urN vim63/runtime/scripts.vim vim63.new/runtime/scripts.vim
+--- vim63/runtime/scripts.vim	2005-09-19 22:04:43.000000000 +0200
++++ vim63.new/runtime/scripts.vim	2005-09-19 22:04:05.000000000 +0200
+@@ -182,6 +182,7 @@
+     " - "Index: <filename>" in the first line (CVS file)
+   elseif s:line1 =~ '^\(diff\>\|Only in \|\d\+\(,\d\+\)\=[cda]\d\+\>\|# It was generated by makepatch \|Index:\s\+\f\+$\|===== \f\+ \d\+\.\d\+ vs edited\|==== //\f\+#\d\+\)'
+ 	\ || (s:line1 =~ '^--- ' && s:line2 =~ '^+++ ')
++	\ || (s:line1 =~ '^\* looking for ' && s:line2 =~ '^\* comparing to ')
+ 	\ || (s:line1 =~ '^\*\*\* ' && s:line2 =~ '^--- ')
+     set ft=diff
+ 




More information about the pkg-vim-maintainers mailing list