commit d72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f
parent a4290f462ed7dc81e17b09bd27877b106b24b6bd
Author: Christian Clason <c.clason@uni-graz.at>
Date: Wed, 6 Mar 2024 09:39:48 +0100
vim-patch:63c39e4ef749
runtime(c): Recognize "__inline" (vim/vim#14145)
`__inline` is recognized by GCC, and may even be preferred, as MSVC does
not recognize `__inline__`.
https://github.com/vim/vim/commit/63c39e4ef749883e96a83b9f647ac91516c0d1be
Co-authored-by: Wu Yongwei <wuyongwei@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
@@ -252,7 +252,7 @@ if exists("c_gnu")
syn keyword cOperator typeof __typeof__
syn keyword cOperator __real__ __imag__
syn keyword cStorageClass __attribute__ __const__ __extension__
- syn keyword cStorageClass inline __inline__
+ syn keyword cStorageClass inline __inline __inline__
syn keyword cStorageClass __restrict__ __volatile__ __noreturn__
endif
syn keyword cType int long short char void