From: martin f. krafft Date: Mon, 8 Jun 2009 09:34:05 +0000 (+0200) Subject: add lref/llabel to tex syntax def X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/191a1809faffe36f8f8ce9d3beb1480123c997a7?ds=sidebyside add lref/llabel to tex syntax def --- diff --git a/.vim/after/syntax/tex.vim b/.vim/after/syntax/tex.vim index 7a7914e..ea9ea67 100644 --- a/.vim/after/syntax/tex.vim +++ b/.vim/after/syntax/tex.vim @@ -1,5 +1,5 @@ -syn region texRefZone matchgroup=texRefZone start="\\[acefmpt]label{" end="}\|%stopzone\>" contains=@texRefGroup -syn region texRefZone matchgroup=texRefZone start="\\[aAcCeEfFmMpPtT][rvx]\=ref{" end="}\|%stopzone\>" contains=@texRefGroup +syn region texRefZone matchgroup=texRefZone start="\\[acefmptl]label{" end="}\|%stopzone\>" contains=@texRefGroup +syn region texRefZone matchgroup=texRefZone start="\\[aAcCeEfFmMpPtTlL][rvx]\=ref{" end="}\|%stopzone\>" contains=@texRefGroup syn region texMyForeign matchgroup=texTypeStyle start="\\foreign{" end="}" contains=texMatcher,@NoSpell syn cluster texFoldGroup add=texMyForeign