Skip to content

Commit

Permalink
Add new keywords
Browse files Browse the repository at this point in the history
* `async` from rust-lang/rfcs#2394;
* `existential` from rust-lang/rfcs#2071.
  • Loading branch information
hcpl committed Nov 24, 2018
1 parent 7e1e2d2 commit 8c513bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syntax/rust.vim
Expand Up @@ -24,10 +24,12 @@ syn keyword rustOperator as

syn match rustAssert "\<assert\(\w\)*!" contained
syn match rustPanic "\<panic\(\w\)*!" contained
syn keyword rustKeyword async
syn keyword rustKeyword break
syn keyword rustKeyword box nextgroup=rustBoxPlacement skipwhite skipempty
syn keyword rustKeyword continue
syn keyword rustKeyword crate
syn keyword rustKeyword existential
syn keyword rustKeyword extern nextgroup=rustExternCrate,rustObsoleteExternMod skipwhite skipempty
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite skipempty
syn keyword rustKeyword in impl let
Expand Down

0 comments on commit 8c513bd

Please sign in to comment.