r1090 - in /trunk/packages/vim: debian/changelog patches/lhaskell.vim-syntax.diff patches/series
jamessan at users.alioth.debian.org
jamessan at users.alioth.debian.org
Mon Nov 26 07:29:29 UTC 2007
Author: jamessan
Date: Mon Nov 26 07:29:29 2007
New Revision: 1090
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1090
Log:
* Add lhaskell.vim-syntax.diff, which restricts the matching of % to the
beginning of the line when determining if the file is a TeX document.
Thanks to Chung-chieh Shan for the patch. (Closes: #451440)
Added:
trunk/packages/vim/patches/lhaskell.vim-syntax.diff
Modified:
trunk/packages/vim/debian/changelog
trunk/packages/vim/patches/series
Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1090&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Mon Nov 26 07:29:29 2007
@@ -49,7 +49,12 @@
* debian/README.Debian
- fix typo in vim policy URL (Closes: #452555)
- -- James Vega <jamessan at debian.org> Sun, 25 Nov 2007 11:32:01 -0500
+ [ James Vega ]
+ * Add lhaskell.vim-syntax.diff, which restricts the matching of % to the
+ beginning of the line when determining if the file is a TeX document.
+ Thanks to Chung-chieh Shan for the patch. (Closes: #451440)
+
+ -- James Vega <jamessan at debian.org> Mon, 26 Nov 2007 06:41:51 +0000
vim (1:7.1-138+1) unstable; urgency=medium
Added: trunk/packages/vim/patches/lhaskell.vim-syntax.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/lhaskell.vim-syntax.diff?rev=1090&op=file
==============================================================================
--- trunk/packages/vim/patches/lhaskell.vim-syntax.diff (added)
+++ trunk/packages/vim/patches/lhaskell.vim-syntax.diff Mon Nov 26 07:29:29 2007
@@ -1,0 +1,13 @@
+Index: vim/runtime/syntax/lhaskell.vim
+===================================================================
+--- vim/runtime/syntax/lhaskell.vim.orig
++++ vim/runtime/syntax/lhaskell.vim
+@@ -71,7 +71,7 @@
+ " - \begin{env} (for env != code)
+ " - \part, \chapter, \section, \subsection, \subsubsection, etc
+ if b:lhs_markup == "unknown"
+- if search('%\|\\documentclass\|\\begin{\(code}\)\@!\|\\\(sub\)*section\|\\chapter|\\part','W') != 0
++ if search('^%\|\\documentclass\|\\begin{\(code}\)\@!\|\\\(sub\)*section\|\\chapter|\\part','W') != 0
+ let b:lhs_markup = "tex"
+ else
+ let b:lhs_markup = "plain"
Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1090&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Mon Nov 26 07:29:29 2007
@@ -23,3 +23,4 @@
sh.vim_syntax.diff -p0
gnuada.diff -p0
debsources.vim-syntax.diff -p0
+lhaskell.vim-syntax.diff -p0
More information about the pkg-vim-maintainers
mailing list