el/dot-emacs.el: Fix the Rust keywords.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 4 Jul 2018 23:18:08 +0000 (00:18 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 4 Jul 2018 23:45:29 +0000 (00:45 +0100)
I'd missed out `proc' and `Self', duplicated `false' (but not `true') in
the two lists.

Add the missing keywords; mark both `true' and `false' as builtins, as
well as `self' and `Self'.

el/dot-emacs.el

index 78a456b..1c484e6 100644 (file)
@@ -2640,15 +2640,15 @@ name, as a symbol."
                      "const" "continue" "create"
                      "do"
                      "else" "enum" "extern"
-                     "false" "final" "fn" "for"
+                     "final" "fn" "for"
                      "if" "impl" "in"
                      "let" "loop"
                      "macro" "match" "mod" "move" "mut"
                      "offsetof" "override"
-                     "priv" "pub" "pure"
+                     "priv" "proc" "pub" "pure"
                      "ref" "return"
-                     "self" "sizeof" "static" "struct" "super"
-                     "true" "trait" "type" "typeof"
+                     "sizeof" "static" "struct" "super"
+                     "trait" "type" "typeof"
                      "unsafe" "unsized" "use"
                      "virtual"
                      "where" "while"
@@ -2659,7 +2659,8 @@ name, as a symbol."
                      "f32" "f64"
                      "i8" "i16" "i32" "i64" "isize"
                      "u8" "u16" "u32" "u64" "usize"
-                     "char" "str")))
+                     "char" "str"
+                     "self" "Self")))
     (setq font-lock-keywords
          (list