提交 6c7291ec 编写于 作者: H Huon Wilson

Update editor syntax files for isize/usize.

Yay, syntax highlighting.
上级 9e4e524e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册