aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-03-06 09:39:48 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-03-06 10:05:12 +0100
commitd72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f (patch)
tree554bdc7ba976bef4848a37277084175de82b1eb0
parenta4290f462ed7dc81e17b09bd27877b106b24b6bd (diff)
downloadrneovim-d72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f.tar.gz
rneovim-d72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f.tar.bz2
rneovim-d72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f.zip
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>
-rw-r--r--runtime/syntax/c.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
index a593bd26c2..30db9438d0 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