Add more Rust keywords

This commit is contained in:
Timothy Warren 2019-09-04 16:55:05 -04:00
parent d2ac4a422c
commit 2cecadb3aa

View File

@ -1325,6 +1325,24 @@ fn get_syntax_db() -> Vec<EditorSyntax> {
"String", "String",
"ToString", "ToString",
"Vec", "Vec",
"str",
"char",
"u8",
"i8",
"u16",
"i16",
"u32",
"i32",
"usize",
"isize",
"u64",
"i64",
"u128",
"i128",
"bool",
"array",
"f32",
"f64"
], ],
"//", "//",
EditorSyntaxFlags::HIGHLIGHT_NUMBERS | EditorSyntaxFlags::HIGHLIGHT_STRINGS, EditorSyntaxFlags::HIGHLIGHT_NUMBERS | EditorSyntaxFlags::HIGHLIGHT_STRINGS,