From: Mark Wooding Date: Wed, 26 Feb 2014 16:03:12 +0000 (+0000) Subject: el/dot-emacs.el: Fix Scala keywords. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/3f017188cec447b4326bfb6a4052bc7a8c1d472c el/dot-emacs.el: Fix Scala keywords. Move `super' and `this' to the constants list. They fit better here, I think. And add `private' which was unaccountably missing. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index f8141dc..e341b93 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -1501,11 +1501,11 @@ doesn't match any of the regular expressions in (mdw-regexps "abstract" "case" "catch" "class" "def" "do" "else" "extends" "final" "finally" "for" "forSome" "if" "implicit" "import" "lazy" "match" "new" "object" - "override" "package" "protected" "return" "sealed" - "super" "this" "throw" "trait" "try" "type" "val" + "override" "package" "private" "protected" "return" + "sealed" "throw" "trait" "try" "type" "val" "var" "while" "with" "yield")) (scala-constants - (mdw-regexps "false" "null" "true")) + (mdw-regexps "false" "null" "super" "this" "true")) (punctuation "\\s.\\|\\s(\\|\\s)\\|\\s\\\\|\\s/")) (setq font-lock-keywords