We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57698fe commit 4bb13c6Copy full SHA for 4bb13c6
doc/lib/codemirror-rust.js
@@ -5,11 +5,11 @@ CodeMirror.defineMode("rust", function() {
5
"do": "else-style", "ret": "else-style", "fail": "else-style",
6
"break": "atom", "cont": "atom", "const": "let", "resource": "fn",
7
"let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface",
8
- "impl": "impl", "type": "type", "enum": "enum", "mod": "mod",
+ "impl": "impl", "type": "type", "enum": "enum", "class": "atom", "mod": "mod",
9
"as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
10
"claim": "op", "extern": "ignore", "unsafe": "ignore", "import": "else-style",
11
"export": "else-style", "copy": "op", "log": "op", "log_err": "op",
12
- "use": "op", "bind": "op", "self": "atom"
+ "use": "op", "bind": "op", "self": "atom", "new": "atom"
13
};
14
var typeKeywords = function() {
15
var keywords = {"fn": "fn"};
0 commit comments