From b6c68b63f184db8df77ecc0f22e6ed435111d3c6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 24 Oct 2008 15:12:54 +0200 Subject: [PATCH 1/1] add mref/mlabel to syntax --- .vim/after/syntax/tex.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5