runtime(c): Recognize "__inline" (#14145)
Commit:
https://github.com/vim/vim/commit/63c39e4ef749883e96a83b9f647ac91516c0d1be
Author: Wu Yongwei <
wuyo...@gmail.com>
Date: Wed Mar 6 03:27:27 2024 +0800
runtime(c): Recognize "__inline" (
https://github.com/vim/vim/issues/14145)
`__inline` is recognized by GCC, and may even be preferred, as MSVC does
not recognize `__inline__`.
Signed-off-by: Wu Yongwei <
wuyo...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
index a593bd26c..30db9438d 100644
--- 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