Skip to content

Commit

Permalink
Add 'class' and 'new' to codemirror-rust.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Jul 7, 2012
1 parent 57698fe commit 4bb13c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/lib/codemirror-rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ CodeMirror.defineMode("rust", function() {
"do": "else-style", "ret": "else-style", "fail": "else-style",
"break": "atom", "cont": "atom", "const": "let", "resource": "fn",
"let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface",
"impl": "impl", "type": "type", "enum": "enum", "mod": "mod",
"impl": "impl", "type": "type", "enum": "enum", "class": "atom", "mod": "mod",
"as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
"claim": "op", "extern": "ignore", "unsafe": "ignore", "import": "else-style",
"export": "else-style", "copy": "op", "log": "op", "log_err": "op",
"use": "op", "bind": "op", "self": "atom"
"use": "op", "bind": "op", "self": "atom", "new": "atom"
};
var typeKeywords = function() {
var keywords = {"fn": "fn"};
Expand Down

0 comments on commit 4bb13c6

Please sign in to comment.