r1150 - in /trunk/packages/vim: debian/changelog patches/tex.vim-syntax_additions.diff

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Mon Jan 14 23:14:41 UTC 2008


Author: jamessan
Date: Mon Jan 14 23:14:41 2008
New Revision: 1150

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1150
Log:
* patches/tex.vim-syntax_additions.diff:
  - Disable spell checking for verbatim sections.  (Closes: #445295)

Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/patches/tex.vim-syntax_additions.diff

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1150&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Mon Jan 14 23:14:41 2008
@@ -16,8 +16,10 @@
     to allow newlines as part of the whitespace.  (Closes: #460074)
   * runtime/syntax/debcontrol.vim: Add s390x, sh3, sh3eb, sh4, sh4eb to the
     list of recognized architectures.  (Closes: #455993)
-
- -- James Vega <jamessan at debian.org>  Mon, 14 Jan 2008 13:18:42 -0500
+  * patches/tex.vim-syntax_additions.diff:
+    - Disable spell checking for verbatim sections.  (Closes: #445295)
+
+ -- James Vega <jamessan at debian.org>  Mon, 14 Jan 2008 18:12:49 -0500
 
 vim (1:7.1-175+2) unstable; urgency=low
 

Modified: trunk/packages/vim/patches/tex.vim-syntax_additions.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/tex.vim-syntax_additions.diff?rev=1150&op=diff
==============================================================================
--- trunk/packages/vim/patches/tex.vim-syntax_additions.diff (original)
+++ trunk/packages/vim/patches/tex.vim-syntax_additions.diff Mon Jan 14 23:14:41 2008
@@ -28,7 +28,30 @@
  
  " Try to flag {} and () mismatches: {{{1
  if !exists("g:tex_no_error")
-@@ -421,8 +423,10 @@
+@@ -395,13 +397,17 @@
+ " Separate lines used for verb` and verb# so that the end conditions {{{1
+ " will appropriately terminate.  Ideally vim would let me save a
+ " character from the start pattern and re-use it in the end-pattern.
+-syn region texZone		start="\\begin{verbatim}"		end="\\end{verbatim}\|%stopzone\>"	contains=@Spell
++if version < 600
++  syn region texZone		start="\\begin{verbatim}"		end="\\end{verbatim}\|%stopzone\>"
++  " moreverb package:
++  syn region texZone		start="\\begin{verbatimtab}"		end="\\end{verbatimtab}\|%stopzone\>"
++  syn region texZone		start="\\begin{verbatimwrite}"		end="\\end{verbatimwrite}\|%stopzone\>"
++  syn region texZone		start="\\begin{boxedverbatim}"		end="\\end{boxedverbatim}\|%stopzone\>"
++else
++  syn region texZone		start="\\begin{\z(boxedverbatim\|verbatim\%(tab\|write\)\=\)}"		end="\\end{\z1}\|%stopzone\>"
++endif
+ " listings package:
+ syn region texZone		start="\\begin{lstlisting}"		end="\\end{lstlisting}\|%stopzone\>"	contains=@Spell
+-" moreverb package:
+-syn region texZone		start="\\begin{verbatimtab}"		end="\\end{verbatimtab}\|%stopzone\>"	contains=@Spell
+-syn region texZone		start="\\begin{verbatimwrite}"		end="\\end{verbatimwrite}\|%stopzone\>"	contains=@Spell
+-syn region texZone		start="\\begin{boxedverbatim}"		end="\\end{boxedverbatim}\|%stopzone\>"	contains=@Spell
+ if version < 600
+  syn region texZone		start="\\verb\*\=`"			end="`\|%stopzone\>"
+  syn region texZone		start="\\verb\*\=#"			end="#\|%stopzone\>"
+@@ -421,8 +427,10 @@
  syn region texRefZone		matchgroup=texStatement start="\\\(page\|eq\)ref{"	end="}\|%stopzone\>"	contains=@texRefGroup
  syn region texRefZone		matchgroup=texStatement start="\\v\=ref{"		end="}\|%stopzone\>"	contains=@texRefGroup
  syn match  texRefZone		'\\cite\%([tp]\*\=\)\=' nextgroup=texRefOption,texCite
@@ -39,7 +62,7 @@
  
  " Handle newcommand, newenvironment : {{{1
  syn match  texNewCmd				"\\newcommand\>"			nextgroup=texCmdName skipwhite skipnl
-@@ -446,6 +450,15 @@
+@@ -446,6 +454,15 @@
  syn match texDefParms  contained		"#[^{]*"	contains=texDefParm	nextgroup=texCmdBody skipwhite skipnl
  syn match  texDefParm  contained		"#\d\+"
  
@@ -55,7 +78,7 @@
  " TeX Lengths: {{{1
  syn match  texLength		"\<\d\+\([.,]\d\+\)\=\s*\(true\)\=\s*\(bp\|cc\|cm\|dd\|em\|ex\|in\|mm\|pc\|pt\|sp\)\>"
  
-@@ -515,6 +528,7 @@
+@@ -515,6 +532,7 @@
    HiLink texTypeStyle		texType
  
     " Basic TeX highlighting groups
@@ -63,7 +86,7 @@
    HiLink texCmdArgs		Number
    HiLink texCmdName		Statement
    HiLink texComment		Comment
-@@ -538,6 +552,7 @@
+@@ -538,6 +556,7 @@
    HiLink texString		String
    HiLink texTodo		Todo
    HiLink texType		Type




More information about the pkg-vim-maintainers mailing list