mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
etc: Update the Vim syntax mode with new keywords
This commit is contained in:
parent
d7ee55bfd0
commit
684df97ef0
@ -14,12 +14,12 @@ if !exists("main_syntax")
|
||||
let main_syntax='rust'
|
||||
endif
|
||||
|
||||
syn keyword rustKeyword use meta syntax mutable native mod import export
|
||||
syn keyword rustKeyword let auto io state unsafe auth with bind type rec
|
||||
syn keyword rustKeyword tup tag vec fn iter obj as drop task chan flush
|
||||
syn keyword rustKeyword spawn if else alt case in do while break cont
|
||||
syn keyword rustKeyword fail log log_err note claim check prove assert
|
||||
syn keyword rustKeyword for each ret put be
|
||||
syn keyword rustKeyword alt as assert auth be bind break chan check
|
||||
syn keyword rustKeyword claim cont do each else export fail fn for if
|
||||
syn keyword rustKeyword import in iter let log log_err macro meta mod
|
||||
syn keyword rustKeyword mutable native note obj port prove put resource
|
||||
syn keyword rustKeyword ret self spawn syntax tag type unsafe use while
|
||||
syn keyword rustKeyword with
|
||||
|
||||
syn keyword rustType any int uint float char bool u8 u16 u32 u64 f32
|
||||
syn keyword rustType f64 i8 i16 i32 i64 str task
|
||||
|
Loading…
Reference in New Issue
Block a user