1
Fork 0

Remove "iface" from vim and emacs modes.

This commit is contained in:
Lindsey Kuper 2012-07-31 10:40:27 -07:00
parent 439afaa329
commit a413d4e502
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@
(defvar rust-value-keywords
(let ((table (make-hash-table :test 'equal)))
(dolist (word '("mod" "const" "class" "type"
"trait" "fn" "enum" "iface"
"trait" "fn" "enum"
"impl"))
(puthash word 'def table))
(dolist (word '("again" "assert"

View file

@ -20,7 +20,7 @@ syn keyword rustKeyword ret self 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
syn keyword rustKeyword mod iface trait class struct enum type nextgroup=rustIdentifier skipwhite
syn keyword rustKeyword mod trait class struct enum type nextgroup=rustIdentifier skipwhite
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite
syn match rustIdentifier "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained