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