vim: "ref" and "static" are now keywords; highlight them as such

This commit is contained in:
Patrick Walton 2012-08-16 15:43:14 -07:00
parent 64de480d46
commit be4f9753e4

View File

@ -16,7 +16,7 @@ syn keyword rustKeyword alt again as break
syn keyword rustKeyword check claim const copy do drop else export extern fail
syn keyword rustKeyword for if impl import in let log
syn keyword rustKeyword loop match mod module move mut new of owned priv pub pure
syn keyword rustKeyword ret return to unchecked
syn keyword rustKeyword ref ret return static to unchecked
syn match rustKeyword "unsafe" " Allows also matching unsafe::foo()
syn keyword rustKeyword use while with
" FIXME: Scoped impl's name is also fallen in this category