blob: 382d2a08f289f186ac63ebc2ef2c08cad771047c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
" fix vimtex highlighting for custom verbatim commands
syntax match texCmdVerb "\\codeinline\>\*\?" nextgroup=texVerbZoneInline
call vimtex#syntax#core#new_arg('texVerbZoneInline', {
\ 'contains': '',
\ 'matcher': 'start="{" end="}"'
\})
" and \begin{blockcode} ... \end{blockcode}
call vimtex#syntax#core#new_env({
\ 'name': 'blockcode',
\ 'region': 'texVerbZone',
\})
|