Add more Rust keywords

This commit is contained in:
Timothy Warren 2019-09-04 16:55:05 -04:00
parent d2ac4a422c
commit 2cecadb3aa
1 changed files with 18 additions and 0 deletions

View File

@ -1325,6 +1325,24 @@ fn get_syntax_db() -> Vec<EditorSyntax> {
"String",
"ToString",
"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,