From: martin f. krafft Date: Fri, 24 Oct 2008 13:12:54 +0000 (+0200) Subject: add mref/mlabel to syntax X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b6c68b63f184db8df77ecc0f22e6ed435111d3c6?ds=inline;hp=73a192185a3aaceb0417cd48651470065651336a add mref/mlabel to syntax --- diff --git a/.vim/after/syntax/tex.vim b/.vim/after/syntax/tex.vim index d1e066b..7a7914e 100644 --- a/.vim/after/syntax/tex.vim +++ b/.vim/after/syntax/tex.vim @@ -1,5 +1,5 @@ -syn region texRefZone matchgroup=texRefZone start="\\[acefpt]label{" end="}\|%stopzone\>" contains=@texRefGroup -syn region texRefZone matchgroup=texRefZone start="\\[aAcCeEfFpPtT][rvx]\=ref{" end="}\|%stopzone\>" contains=@texRefGroup +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 texMyForeign matchgroup=texTypeStyle start="\\foreign{" end="}" contains=texMatcher,@NoSpell syn cluster texFoldGroup add=texMyForeign