Skip to content

Commit 8c513bd

Browse files
committed
Add new keywords
* `async` from rust-lang/rfcs#2394; * `existential` from rust-lang/rfcs#2071.
1 parent 7e1e2d2 commit 8c513bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

syntax/rust.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ syn keyword rustOperator as
2424

2525
syn match rustAssert "\<assert\(\w\)*!" contained
2626
syn match rustPanic "\<panic\(\w\)*!" contained
27+
syn keyword rustKeyword async
2728
syn keyword rustKeyword break
2829
syn keyword rustKeyword box nextgroup=rustBoxPlacement skipwhite skipempty
2930
syn keyword rustKeyword continue
3031
syn keyword rustKeyword crate
32+
syn keyword rustKeyword existential
3133
syn keyword rustKeyword extern nextgroup=rustExternCrate,rustObsoleteExternMod skipwhite skipempty
3234
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite skipempty
3335
syn keyword rustKeyword in impl let

0 commit comments

Comments
 (0)