Skip to content

Commit

Permalink
feat: further simplifiy core syntax
Browse files Browse the repository at this point in the history
refer: #2877
  • Loading branch information
lervag committed Jan 26, 2024
1 parent 3880af6 commit a397999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/vimtex/syntax/core.vim
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ function! vimtex#syntax#core#init_rules() abort " {{{1
" Math regions: Inline Math Zones
let l:conceal = g:vimtex_syntax_conceal.math_bounds ? 'concealends' : ''
execute 'syntax region texMathZoneLI matchgroup=texMathDelimZoneLI'
\ 'start="\\\@<!\\("'
\ 'end="\\\@<!\\)"'
\ 'start="\\("'
\ 'end="\\)"'
\ 'contains=@texClusterMath'
\ l:conceal
execute 'syntax region texMathZoneLD matchgroup=texMathDelimZoneLD'
Expand Down

0 comments on commit a397999

Please sign in to comment.