minor updates to vim config files

This commit is contained in:
Ben Blum 2012-06-30 00:19:24 -04:00
parent c74b3fd634
commit dc93814bf9
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
au BufRead,BufNewFile *.rs set filetype=rust
au BufRead,BufNewFile *.rs,*.rc set filetype=rust

View File

@ -10,6 +10,7 @@ elseif exists("b:current_syntax")
endif
syn keyword rustAssert assert
syn match rustAssert "assert\(\w\)*"
syn keyword rustKeyword alt as break
syn keyword rustKeyword check claim cont const copy else export extern fail
syn keyword rustKeyword do for if impl import in let log
@ -33,9 +34,9 @@ syn keyword rustType f64 i8 i16 i32 i64 str
syn keyword rustBoolean true false
syn keyword rustConstant some none " option
" syn keyword rustConstant left right " either
" syn keyword rustConstant ok err " result
" syn keyword rustConstant success failure " task
syn keyword rustConstant left right " either
syn keyword rustConstant ok err " result
syn keyword rustConstant success failure " task
" syn keyword rustConstant cons nil " list
" syn keyword rustConstant empty node " tree