From 7cb68f71bccffaa40c6c7ad296fdf97c72839985 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 17 Aug 2014 11:55:46 +1000 Subject: Add new keywords (particularly `where` & `virtual`) to editor modes. --- rust-mode.el | 5 +++-- 1 file 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" -- cgit v1.2.3