From 87def30c773641959e14aedde43e4af6639f7d1f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 16 Feb 2019 12:28:16 +0000 Subject: [PATCH] el/dot-emacs.el (mdw-fontify-rust): Add new keywords from 2018 edition. --- el/dot-emacs.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 7c933f3..24c2afa 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2655,10 +2655,10 @@ name, as a symbol." ;; Fontify keywords and things. (make-local-variable 'font-lock-keywords) (let ((rust-keywords - (mdw-regexps "abstract" "alignof" "as" + (mdw-regexps "abstract" "alignof" "as" "async" "await" "become" "box" "break" "const" "continue" "crate" - "do" + "do" "dyn" "else" "enum" "extern" "final" "fn" "for" "if" "impl" "in" @@ -2668,8 +2668,8 @@ name, as a symbol." "priv" "proc" "pub" "pure" "ref" "return" "sizeof" "static" "struct" "super" - "trait" "type" "typeof" - "unsafe" "unsized" "use" + "trait" "try" "type" "typeof" + "union" "unsafe" "unsized" "use" "virtual" "where" "while" "yield")) -- 2.11.0