]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(c): classify type qualifiers, function specifiers and C23 attributes
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Mon, 1 Jun 2026 21:04:08 +0000 (21:04 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 1 Jun 2026 21:04:08 +0000 (21:04 +0000)
commit77b2376769a3f6b0dc21467a56986f3725fc270d
tree42efc6343d674926737b8c3b0a1ed72352e9d807
parent64982d6010c3610e7f44190f4eb128d6f0f2b91a
runtime(c): classify type qualifiers, function specifiers and C23 attributes

Move const, volatile, restrict and _Atomic to a new cTypeQualifier group
and inline and _Noreturn to cFunctionSpec. Add the C23 standard attributes
deprecated, fallthrough, maybe_unused, nodiscard, unsequenced and
reproducible as cStandardAttribute, and reclassify the existing noreturn
into the same group.

The new groups link to cStorageClass, so the default highlighting and any
existing cStorageClass override are unchanged, while allowing finer-grained
customization.

fixes:  #19574
closes: #20368

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/c.vim