]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(tex): add amsmath support to tex syntax script
authorEisuke Kawashima <e-kwsm@users.noreply.github.com>
Mon, 29 Sep 2025 19:43:51 +0000 (19:43 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 29 Sep 2025 19:43:51 +0000 (19:43 +0000)
commit05e44e978fc7acb5314ce16f5a41d8e75d34bd21
treebf48fde152f1d0e24ab5a0dab07a05d877a2d867
parentb3740f4b00a78701637a49445adeb20b13e6edf6
runtime(tex): add amsmath support to tex syntax script

Problem:  tex syntax file does not support some of the math equation
          environments provided by amsmath.sty, therefore well-formed
          snippet is highlighted as "texBadMath"
Solution: add the environments

closes: #18433

Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/dumps/tex_03_00.dump [new file with mode: 0644]
runtime/syntax/testdir/input/tex_03.tex [new file with mode: 0644]
runtime/syntax/tex.vim