Skip to content

Commit 7fe4b8c

Browse files
harrystevens4zeertzjq
authored andcommitted
runtime(c): Update signal constants in syntax script
closes: #18763 Co-authored-by: zeertzjq <[email protected]> Signed-off-by: Harry <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent ed4af75 commit 7fe4b8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

runtime/syntax/c.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim syntax file
22
" Language: C
33
" Maintainer: The Vim Project <https://github.com/vim/vim>
4-
" Last Change: 2025 Jan 18
4+
" Last Change: 2025 Nov 18
55
" Former Maintainer: Bram Moolenaar <[email protected]>
66

77
" Quit when a (custom) syntax file was already loaded
@@ -421,8 +421,10 @@ if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu")
421421
syn keyword cConstant NDEBUG
422422
" POSIX 2001
423423
syn keyword cConstant SIGBUS SIGPOLL SIGPROF SIGSYS SIGURG SIGVTALRM SIGXCPU SIGXFSZ
424+
" POSIX Issue 8 (post 2017)
425+
syn keyword cConstant SIGWINCH
424426
" non-POSIX signals
425-
syn keyword cConstant SIGWINCH SIGINFO
427+
syn keyword cConstant SIGINFO SIGIO
426428
" Add POSIX errors as well. List comes from:
427429
" http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
428430
syn keyword cConstant E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EAGAIN EALREADY EBADF

0 commit comments

Comments
 (0)