mirror of
https://github.com/vim/vim.git
synced 2026-05-08 03:15:46 +02:00
runtime(c): Do not highlight noreturn in C++ code
closes: #19170 Signed-off-by: Wu Yongwei <wuyongwei@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f25c343b26
commit
5529b750a7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user