[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.2b.001-93-gf05f921

James Vega jamessan at debian.org
Wed Jul 16 23:49:01 UTC 2008


The following commit has been merged in the deb/runtime branch:
commit f05f9218256002dfaeb8ba5de6a01c0802e4e832
Author: James Vega <jamessan at debian.org>
Date:   Wed Jul 16 19:47:26 2008 -0400

    Revert tex syntax highlighting for packages unsupported by upstream
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/runtime/syntax/tex.vim b/runtime/syntax/tex.vim
index b8982b7..f73e0e4 100644
--- a/runtime/syntax/tex.vim
+++ b/runtime/syntax/tex.vim
@@ -96,13 +96,13 @@ endif
 
 " Clusters: {{{1
 " --------
-syn cluster texCmdGroup		contains=texCmdBody,texComment,texDefParm,texDelimiter,texDocType,texInput,texLength,texLigature,texMathDelim,texMathOper,texNewCmd,texNewEnv,texRefZone,texSection,texSectionMarker,texSectionName,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texURLZone,texAcroZone
+syn cluster texCmdGroup		contains=texCmdBody,texComment,texDefParm,texDelimiter,texDocType,texInput,texLength,texLigature,texMathDelim,texMathOper,texNewCmd,texNewEnv,texRefZone,texSection,texSectionMarker,texSectionName,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle
 if !exists("g:tex_no_error")
  syn cluster texCmdGroup	add=texMathError
 endif
 syn cluster texEnvGroup		contains=texMatcher,texMathDelim,texSpecialChar,texStatement
-syn cluster texFoldGroup	contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texSectionMarker,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone, at texMathZones,texTitle,texAbstract,texURLZone,texAcroZone
-syn cluster texMatchGroup	contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texLength,texLigature,texMatcher,texNewCmd,texNewEnv,texOnlyMath,texParen,texRefZone,texSection,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,texInputFile,texOption,texURLZone,texAcroZone, at Spell
+syn cluster texFoldGroup	contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texInputFile,texLength,texLigature,texMatcher,texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ,texNewCmd,texNewEnv,texOnlyMath,texOption,texParen,texRefZone,texSection,texSectionMarker,texSectionZone,texSpaceCode,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone, at texMathZones,texTitle,texAbstract
+syn cluster texMatchGroup	contains=texAccent,texBadMath,texComment,texDefCmd,texDelimiter,texDocType,texInput,texLength,texLigature,texMatcher,texNewCmd,texNewEnv,texOnlyMath,texParen,texRefZone,texSection,texSpecialChar,texStatement,texString,texTypeSize,texTypeStyle,texZone,texInputFile,texOption, at Spell
 syn cluster texRefGroup		contains=texMatcher,texComment,texDelimiter
 if !exists("tex_no_math")
  syn cluster texMathZones	contains=texMathZoneV,texMathZoneW,texMathZoneX,texMathZoneY,texMathZoneZ
@@ -125,8 +125,6 @@ if !exists("tex_no_math")
  syn cluster texSubSubSectionGroup	contains=texParaZone
  syn cluster texParaGroup		contains=texSubParaZone
 endif
-syn cluster texURLGroup			contains=texMatcher, at NoSpell
-syn cluster texAcroGroup		contains=texMatcher, at NoSpell
 
 " Try to flag {} and () mismatches: {{{1
 if !exists("g:tex_no_error")
@@ -431,10 +429,8 @@ syn region texRefZone		matchgroup=texStatement start="\\label{"		end="}\|%stopzo
 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
-syn match  texRefZone		'\\citetext' nextgroup=texRefOption,texFreeCite
 syn region texRefOption	contained	matchgroup=Delimiter start='\[' end=']'		contains=@texRefGroup	nextgroup=texRefOption,texCite
 syn region texCite	contained	matchgroup=Delimiter start='{' end='}'		contains=@texRefGroup
-syn region texFreeCite	contained	matchgroup=Delimiter start='{'rs=s+1 skip="\\\\\|\\[{}]" end='}'		contains=@texMatchGroup
 
 " Handle newcommand, newenvironment : {{{1
 syn match  texNewCmd				"\\newcommand\>"			nextgroup=texCmdName skipwhite skipnl
@@ -458,15 +454,6 @@ endif
 syn match texDefParms  contained		"#[^{]*"	contains=texDefParm	nextgroup=texCmdBody skipwhite skipnl
 syn match  texDefParm  contained		"#\d\+"
 
-" Tex URL Zones: {{{1
-syn region texURLZone		matchgroup=texURLZone start="\\\%(url\|href\){"	end="}\|%stopzone\>"	contains=@texURLGroup
-syn region texURLZone		matchgroup=texURLZone start="\\burl\%(alt\)\={"	end="}\|%stopzone\>"	contains=@texURLGroup
-syn region texURLZone		matchgroup=texURLZone start="\\\%(link\|email\){"	end="}\|%stopzone\>"	contains=@texURLGroup
-
-" Tex Acronym Zones: {{{1
-syn region texAcroZone		matchgroup=texAcroZone start="\\ac\%(fi\|[fls]\=p\=\)\*\={"		end="}\|%stopzone\>"	contains=@texAcroGroup
-syn region texAcroZone		matchgroup=texAcroZone start="\\ac\%(used\|[ls]u\*\=\){"		end="}\|%stopzone\>"	contains=@texAcroGroup
-
 " TeX Lengths: {{{1
 syn match  texLength		"\<\d\+\([.,]\d\+\)\=\s*\(true\)\=\s*\(bp\|cc\|cm\|dd\|em\|ex\|in\|mm\|pc\|pt\|sp\)\>"
 
@@ -537,7 +524,6 @@ if did_tex_syntax_inits == 1
   HiLink texTypeStyle		texType
 
    " Basic TeX highlighting groups
-  HiLink texAcroZone		Special
   HiLink texCmdArgs		Number
   HiLink texCmdName		Statement
   HiLink texComment		Comment
@@ -561,7 +547,6 @@ if did_tex_syntax_inits == 1
   HiLink texString		String
   HiLink texTodo		Todo
   HiLink texType		Type
-  HiLink texURLZone		Special
   HiLink texZone		PreCondit
 
   delcommand HiLink

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list