Skip to content
Snippets Groups Projects
Commit da42989b authored by Rrandom's avatar Rrandom Committed by Marijn Haverbeke
Browse files

[rust mode] Update primitive types

parent e7b3d699
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ CodeMirror.defineMode("rust", function() {
};
var typeKeywords = function() {
var keywords = {"fn": "fn", "block": "fn", "obj": "obj"};
var atoms = "bool uint int i8 i16 i32 i64 u8 u16 u32 u64 float f32 f64 str char".split(" ");
var atoms = "bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 str char isize usize".split(" ");
for (var i = 0, e = atoms.length; i < e; ++i) keywords[atoms[i]] = "atom";
return keywords;
}();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment