From: martin f. krafft Date: Thu, 15 May 2008 14:06:05 +0000 (+0100) Subject: add new aref/alabel commands to refzone match X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/502365a7c4e445a6b0ef9fd55c33b437fc80a65c?ds=inline add new aref/alabel commands to refzone match --- diff --git a/.vim/after/syntax/tex.vim b/.vim/after/syntax/tex.vim index 439a9fc..eb3f901 100644 --- a/.vim/after/syntax/tex.vim +++ b/.vim/after/syntax/tex.vim @@ -1,5 +1,5 @@ -syn region texRefZone matchgroup=texRefZone start="\\[cefp]label{" end="}\|%stopzone\>" contains=@texRefGroup -syn region texRefZone matchgroup=texRefZone start="\\[cCeEfFpP][rvx]\=ref{" end="}\|%stopzone\>" contains=@texRefGroup +syn region texRefZone matchgroup=texRefZone start="\\[acefp]label{" end="}\|%stopzone\>" contains=@texRefGroup +syn region texRefZone matchgroup=texRefZone start="\\[aAcCeEfFpP][rvx]\=ref{" end="}\|%stopzone\>" contains=@texRefGroup syn region texMyForeign matchgroup=texTypeStyle start="\\foreign{" end="}" contains=texMatcher,@NoSpell syn cluster texFoldGroup add=texMyForeign