File tree 2 files changed +11
-7
lines changed 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -218,16 +218,17 @@ alt any as assert
218
218
be bind block bool break
219
219
char check claim const cont
220
220
do
221
- else export
221
+ else enum export
222
222
f32 f64 fail false float fn for
223
223
i16 i32 i64 i8 if iface impl import in int
224
224
let log
225
225
mod mutable
226
226
native note
227
+ of
227
228
prove pure
228
229
resource ret
229
230
self str syntax
230
- tag true type
231
+ true type
231
232
u16 u32 u64 u8 uint unchecked unsafe use
232
233
vec
233
234
while
Original file line number Diff line number Diff line change @@ -14,15 +14,18 @@ if !exists("main_syntax")
14
14
let main_syntax= ' rust'
15
15
endif
16
16
17
- syn keyword rustKeyword alt as assert auth be bind block break chan
17
+ syn keyword rustKeyword alt as assert be bind block break
18
18
syn keyword rustKeyword check claim cont const copy do else enum export fail
19
19
syn keyword rustKeyword fn for if iface impl import in inline lambda let log
20
- syn keyword rustKeyword log_err mod mutable native note of prove pure
21
- syn keyword rustKeyword resource ret self tag type unsafe use while
22
- syn keyword rustKeyword with
20
+ syn keyword rustKeyword mod mutable native note of prove pure
21
+ syn keyword rustKeyword resource ret self syntax type unchecked
22
+ syn keyword rustKeyword unsafe use while with
23
+
24
+ " Reserved words
25
+ syn keyword rustKeyword m32 m64 m128 f80 f16 f128 class trait
23
26
24
27
syn keyword rustType any int uint float char bool u8 u16 u32 u64 f32
25
- syn keyword rustType f64 i8 i16 i32 i64 str task
28
+ syn keyword rustType f64 i8 i16 i32 i64 str
26
29
27
30
syn keyword rustBoolean true false
28
31
You can’t perform that action at this time.
0 commit comments