diff options
| author | Birunthan Mohanathas <birunthan@mohanathas.com> | 2013-09-21 16:31:57 +0300 |
|---|---|---|
| committer | Birunthan Mohanathas <birunthan@mohanathas.com> | 2013-09-22 10:47:36 +0300 |
| commit | 2ab278f130cb206ce9117145ddefbbb650ba8c68 (patch) | |
| tree | f3a05c3ea35007bebd243e5c9c62c2bc31576fc5 /src/etc/vim/syntax | |
| parent | eabcb39f8d5c634185174461481ec1f39fe07bcb (diff) | |
| download | rust-2ab278f130cb206ce9117145ddefbbb650ba8c68.tar.gz rust-2ab278f130cb206ce9117145ddefbbb650ba8c68.zip | |
Reserve the `alignof`, `offsetof`, and `sizeof` keywords
Closes #9333.
Diffstat (limited to 'src/etc/vim/syntax')
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index e5d2d542c0f..689af99b5c4 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -34,7 +34,7 @@ syn match rustIdentifier contains=rustIdentifierPrime "\%([^[:cntrl:][:spac syn match rustFuncName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained " Reserved (but not yet used) keywords {{{2 -syn keyword rustKeyword be yield typeof +syn keyword rustKeyword alignof be offsetof pure sizeof typeof yield " Built-in types {{{2 syn keyword rustType int uint float char bool u8 u16 u32 u64 f32 |
