Better syntax support for cite commands
This commit is contained in:
parent
ebe6de96d4
commit
5425da4b3c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user