]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(tex): improve syntax highlighting
authorEisuke Kawashima <e-kwsm@users.noreply.github.com>
Sat, 8 Feb 2025 17:32:14 +0000 (18:32 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 8 Feb 2025 17:32:14 +0000 (18:32 +0100)
commita35040f795fbf217b0a1e21b6b3a94ad56c2298b
tree417962e72333e6c8b45e5f74a67ae65b4d219f3c
parenta17f8bfb282805ee8ded014089d3094ef6dbf913
runtime(tex): improve syntax highlighting

this change includes the following changes:
- a macro option must be #1–#9
- add \providecommand
- add starred versions of \newcommand, \newenvironment, and their
  variants
- add number of arguments to \(re)newenvironment

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