From b01627a3acfa7a2a8e6666cc0c31126e6788cd49 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 16 May 2008 23:13:33 +0100 Subject: [PATCH 1/1] more vim tex spelling --- .vim/syntax/tex.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vim/syntax/tex.vim b/.vim/syntax/tex.vim index f4c5adc..14e1bd6 100644 --- a/.vim/syntax/tex.vim +++ b/.vim/syntax/tex.vim @@ -371,7 +371,7 @@ syn match texSpecialChar "\^\^[0-9a-f]\{2}\|\^\^\S" " Comments: {{{1 " Normal TeX LaTeX : %.... " Documented TeX Format: ^^A... -and- leading %s (only) -syn cluster texCommentGroup contains=texTodo,@Spell +syn cluster texCommentGroup contains=texTodo,@NoSpell syn case ignore syn keyword texTodo contained combak fixme todo xxx syn case match @@ -417,9 +417,9 @@ syn region texRefZone matchgroup=texStatement start="\\bibliography{" end="}\| syn region texRefZone matchgroup=texStatement start="\\label{" end="}\|%stopzone\>" contains=@texRefGroup 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\%(al\)\=\%([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 match texRefZone '\\[cC]ite\%(\%(al\)\=\%([tp]\*\=\)\|num\|author\|year\|yearpar\|fullauthor\)\=' nextgroup=texRefOption,texCite +syn match texRefZone '\\[cC]itetext' nextgroup=texRefOption,texFreeCite +syn region texRefOption contained matchgroup=Delimiter start='\[' end=']' contains=@texRefGroup,texCite nextgroup=texRefOption,texCite syn region texCite contained matchgroup=Delimiter start='{' end='}' contains=@texRefGroup syn region texFreeCite contained matchgroup=Delimiter start="{"rs=s+1 skip="\\\\\|\\[{}]" matchgroup=Delimiter end="}" contains=@texMatchGroup -- 2.39.5