runtime(c): Update signal constants in syntax script
Commit:
https://github.com/vim/vim/commit/7fe4b8c1bd34e6bf108a7127903be9508809e17c
Author: Harry <[email protected]>
Date: Tue Nov 18 20:50:39 2025 +0000
runtime(c): Update signal constants in syntax script
closes: https://github.com/vim/vim/issues/18763
Co-authored-by: zeertzjq <[email protected]>
Signed-off-by: Harry <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
index 68b6778c7..d2f2b85b4 100644
--- a/runtime/syntax/c.vim
+++ b/runtime/syntax/c.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Jan 18
+" Last Change: 2025 Nov 18
" Former Maintainer: Bram Moolenaar <[email protected]>
" 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")
syn keyword cConstant NDEBUG
" POSIX 2001
syn keyword cConstant SIGBUS SIGPOLL SIGPROF SIGSYS SIGURG SIGVTALRM SIGXCPU
SIGXFSZ
+ " POSIX Issue 8 (post 2017)
+ syn keyword cConstant SIGWINCH
" non-POSIX signals
- syn keyword cConstant SIGWINCH SIGINFO
+ syn keyword cConstant SIGINFO SIGIO
" Add POSIX errors as well. List comes from:
" http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
syn keyword cConstant E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT
EAGAIN EALREADY EBADF
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vMAM3-00D1hm-8O%40256bit.org.