summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-08-17 11:55:46 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-08-17 11:57:22 +1000
commit7cb68f71bccffaa40c6c7ad296fdf97c72839985 (patch)
tree13844e64d6928cf6f3ac3ccce252454addce61f4
parent336c0527b355f4d7aaba8dcbe203c2b34f24d0c8 (diff)
downloadrust-mode-7cb68f71bccffaa40c6c7ad296fdf97c72839985.tar.gz
Add new keywords (particularly `where` & `virtual`) to editor modes.
-rw-r--r--rust-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el
index beb2e65..6a514c8 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -170,7 +170,7 @@
(defconst rust-mode-keywords
'("as"
"box" "break"
- "continue" "crate"
+ "const" "continue" "crate"
"do"
"else" "enum" "extern"
"false" "fn" "for"
@@ -182,7 +182,8 @@
"self" "static" "struct" "super"
"true" "trait" "type"
"unsafe" "use"
- "while"))
+ "virtual"
+ "where" "while"))
(defconst rust-special-types
'("u8" "i8"