Better syntax support for cite commands

This commit is contained in:
Karl Yngve Lervåg 2013-11-03 11:49:18 +01:00
parent ebe6de96d4
commit 5425da4b3c

View File

@ -1,3 +1,9 @@
" Better support for cite commands
" \cite, \citep, \citet, \citeauthor, ...
syn match texRefZone
\ "\\cite\%([tp]\*\=\|author\)\="
\ nextgroup=texRefOption,texCite
" Add support for cleverref package " Add support for cleverref package
" \Cref, \cref, \cpageref, \labelcref, \labelcpageref " \Cref, \cref, \cpageref, \labelcref, \labelcpageref
syn region texRefZone matchgroup=texStatement syn region texRefZone matchgroup=texStatement