vim-patch:5529b75: runtime(c): Do not highlight noreturn in C++ code

closes: vim/vim#19170

5529b750a7

Co-authored-by: Wu Yongwei <wuyongwei@gmail.com>
This commit is contained in:
zeertzjq
2026-01-16 07:27:16 +08:00
parent b94061a71d
commit d423dd8b8b

View File

@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2025 Nov 18
" Last Change: 2026 Jan 13
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Quit when a (custom) syntax file was already loaded
@@ -326,7 +326,10 @@ if !exists("c_no_c11")
syn keyword cOperator _Alignof alignof
syn keyword cStorageClass _Atomic
syn keyword cOperator _Generic
syn keyword cStorageClass _Noreturn noreturn
syn keyword cStorageClass _Noreturn
if !s:in_cpp_family
syn keyword cStorageClass noreturn
endif
syn keyword cOperator _Static_assert static_assert
syn keyword cStorageClass _Thread_local thread_local
syn keyword cType char16_t char32_t