From: martin f. krafft Date: Sat, 17 May 2008 14:26:05 +0000 (+0100) Subject: make todo zone expect texRefZone X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/bd39c91c78f87af5195dd5ed9dd97b470071a882?ds=sidebyside make todo zone expect texRefZone --- diff --git a/.vim/after/syntax/tex.vim b/.vim/after/syntax/tex.vim index eb3f901..b282a48 100644 --- a/.vim/after/syntax/tex.vim +++ b/.vim/after/syntax/tex.vim @@ -9,7 +9,7 @@ syn region texMyTTerm matchgroup=texTypeStyle start="\\tterm{" end="}" contains= syn cluster texFoldGroup add=texMyTTerm syn cluster texMatchGroup add=texMyTTerm -syn region texTodoCmd matchgroup=texTodoCmd start="\\todo{" end="}\|%stopzone\>" contains=@NoSpell +syn region texTodoCmd matchgroup=texTodoCmd start="\\todo{" end="}\|%stopzone\>" contains=@texMatchGroup,@NoSpell,texMatcher syn cluster texFoldGroup add=texTodoCmd syn cluster texMatchGroup add=texTodoCmd hi def link texTodoCmd texTodo