summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix S Klock II <pnkfelix@pnkfx.org>2018-09-29 08:40:04 +0200
committerGitHub <noreply@github.com>2018-09-29 08:40:04 +0200
commit256db76678833cd3a51555a3c5214a72f246cf27 (patch)
tree4eed66b3f19c2d0b2bcac11b5e5ea3e7e5485cc8
parent106aeab800fb3404baf231845d3e3549ec235afa (diff)
parent8d32dc629ff610bd555dc23beaa9f4a56bc954a6 (diff)
downloadrust-mode-256db76678833cd3a51555a3c5214a72f246cf27.tar.gz
Merge pull request #281 from ksqsf/master
Add keywords `async` and `try`
-rw-r--r--rust-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 35ae92f..8385a7e 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -522,7 +522,7 @@ buffer."
;; Font-locking definitions and helpers
(defconst rust-mode-keywords
- '("as"
+ '("as" "async"
"box" "break"
"const" "continue" "crate"
"do" "dyn"
@@ -534,7 +534,7 @@ buffer."
"priv" "pub"
"ref" "return"
"self" "static" "struct" "super"
- "true" "trait" "type"
+ "true" "trait" "type" "try"
"use"
"virtual"
"where" "while"