]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(m4): update syntax script
authorDamien Lejay <damien@lejay.be>
Tue, 2 Sep 2025 19:06:35 +0000 (21:06 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 2 Sep 2025 19:06:35 +0000 (21:06 +0200)
commitf165798184dc03895709704df864bd1e43eaf09f
treec05dde1d29748813fc2cf5c45f3a70b309d47e71
parent48990fb08c3f963433a185e8ddec9c12ec4af6b4
runtime(m4): update syntax script

This change does the following to the M4 syntax script:

- In M4 there are no "strings" in the usual sense. Instead, M4 has
  quotes, but the text inside a quoted region is rescanned just like
  outside, and quotes can be nested.
- The old m4String region was misleading and removed. A new m4Quoted
  region reflects proper quoting semantics.
- Removed a duplicate highlight rule.
- Fixed a typo in a highlight group name (m4builtin → m4Builtin).
- Added a reference link to the POSIX M4 specification.
- Removed outdated maintainer URL.

closes: #18192

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/m4.vim