Skip to content

Commit 256db76

Browse files
authored
Merge pull request #281 from ksqsf/master
Add keywords `async` and `try`
2 parents 106aeab + 8d32dc6 commit 256db76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ buffer."
522522

523523
;; Font-locking definitions and helpers
524524
(defconst rust-mode-keywords
525-
'("as"
525+
'("as" "async"
526526
"box" "break"
527527
"const" "continue" "crate"
528528
"do" "dyn"
@@ -534,7 +534,7 @@ buffer."
534534
"priv" "pub"
535535
"ref" "return"
536536
"self" "static" "struct" "super"
537-
"true" "trait" "type"
537+
"true" "trait" "type" "try"
538538
"use"
539539
"virtual"
540540
"where" "while"

0 commit comments

Comments
 (0)