summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorMichael Zapata <michael.zapata@scality.com>2017-09-21 13:23:29 +1200
committerMichael Zapata <michael.zapata@scality.com>2017-09-21 13:23:29 +1200
commitfca71c642dfbbf546a6f867f14d940978e6fc16f (patch)
tree12ee4f355130e0593115956d3e4302f0cece1db4 /rust-mode.el
parent9eda80769167fe434ca90fe367dd7b9f1016ef3c (diff)
downloadrust-mode-fca71c642dfbbf546a6f867f14d940978e6fc16f.tar.gz
feat(rust-mode): add yield to the keywords list
Enables syntax highlighting
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index d5f1391..4151104 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -537,7 +537,8 @@ buffer."
"true" "trait" "type"
"use"
"virtual"
- "where" "while"))
+ "where" "while"
+ "yield"))
(defconst rust-special-types
'("u8" "i8"