mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
Update editor syntax files for isize/usize.
Yay, syntax highlighting.
This commit is contained in:
parent
9e4e524e0e
commit
6c7291ece4
@ -189,7 +189,7 @@
|
||||
"u64" "i64"
|
||||
|
||||
"f32" "f64"
|
||||
"float" "int" "uint"
|
||||
"float" "int" "uint" "isize" "usize"
|
||||
"bool"
|
||||
"str" "char"))
|
||||
|
||||
|
@ -79,7 +79,9 @@
|
||||
<context id="types" style-ref="type">
|
||||
<keyword>bool</keyword>
|
||||
<keyword>int</keyword>
|
||||
<keyword>isize</keyword>
|
||||
<keyword>uint</keyword>
|
||||
<keyword>usize</keyword>
|
||||
<keyword>i8</keyword>
|
||||
<keyword>i16</keyword>
|
||||
<keyword>i32</keyword>
|
||||
|
@ -91,7 +91,9 @@
|
||||
<list name="types">
|
||||
<item> bool </item>
|
||||
<item> int </item>
|
||||
<item> isize </item>
|
||||
<item> uint </item>
|
||||
<item> usize </item>
|
||||
<item> i8 </item>
|
||||
<item> i16 </item>
|
||||
<item> i32 </item>
|
||||
|
@ -59,7 +59,7 @@ syn match rustMacroVariable "$\w\+"
|
||||
syn keyword rustReservedKeyword alignof be do offsetof priv pure sizeof typeof unsized yield abstract final override macro
|
||||
|
||||
" Built-in types {{{2
|
||||
syn keyword rustType int uint float char bool u8 u16 u32 u64 f32
|
||||
syn keyword rustType int isize uint usize float char bool u8 u16 u32 u64 f32
|
||||
syn keyword rustType f64 i8 i16 i32 i64 str Self
|
||||
|
||||
" Things from the prelude (src/libstd/prelude.rs) {{{2
|
||||
|
Loading…
Reference in New Issue
Block a user