emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 8d32dc6 370/486: Add keywords `async` and `try`


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 8d32dc6 370/486: Add keywords `async` and `try`
Date: Sat, 7 Aug 2021 09:25:55 -0400 (EDT)

branch: elpa/rust-mode
commit 8d32dc629ff610bd555dc23beaa9f4a56bc954a6
Author: _rika <i@ksqsf.moe>
Commit: _rika <i@ksqsf.moe>

    Add keywords `async` and `try`
---
 rust-mode.el | 4 ++--
 1 file 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]