diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-01-10 14:55:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-01-10 14:55:01 +0100 |
commit | 6ee8d89cf9c283992323ab6d9ff3b59390639ee9 (patch) | |
tree | 2ba1ccf8a2cf2060a1dbf92cec962cc445cec05a /runtime/syntax/c.vim | |
parent | 64a72303f8048a1288a03b65350c5d6727a78932 (diff) | |
download | vim-git-6ee8d89cf9c283992323ab6d9ff3b59390639ee9.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/c.vim')
-rw-r--r-- | runtime/syntax/c.vim | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim index aef59a607..7af0067f8 100644 --- a/runtime/syntax/c.vim +++ b/runtime/syntax/c.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2011 Dec 30 +" Last Change: 2012 Jan 04 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") @@ -181,7 +181,7 @@ if !exists("c_no_ansi") || exists("c_ansi_typedefs") syn keyword cType mbstate_t wctrans_t wint_t wctype_t endif if !exists("c_no_c99") " ISO C99 - syn keyword cType bool complex + syn keyword cType _Bool bool _Complex complex _Imaginary imaginary syn keyword cType int8_t int16_t int32_t int64_t syn keyword cType uint8_t uint16_t uint32_t uint64_t syn keyword cType int_least8_t int_least16_t int_least32_t int_least64_t @@ -203,6 +203,15 @@ endif if !exists("c_no_c99") syn keyword cStorageClass inline restrict endif +if !exists("c_no_c11") + syn keyword cStorageClass _Alignas alignas + syn keyword cOperator _Alignof alignof + syn keyword cStorageClass _Atomic + syn keyword cOperator _Generic + syn keyword cStorageClass _Noreturn noreturn + syn keyword cOperator _Static_assert static_assert + syn keyword cStorageClass _Thread_local thread_local +endif if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu") if exists("c_gnu") |