# HG changeset patch # User Christian Brabandt # Date 1709667009 -3600 # Node ID 7bf8f78a5a4b9ffcd43985ee8f506fba7fa66572 # Parent 7375d8465b7e3a226e5f7e30c99880ca16e6f37e runtime(c): Recognize "__inline" (#14145) Commit: https://github.com/vim/vim/commit/63c39e4ef749883e96a83b9f647ac91516c0d1be Author: Wu Yongwei 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 Signed-off-by: Christian Brabandt diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim --- 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