Remove "iface" from vim and emacs modes.
This commit is contained in:
parent
439afaa329
commit
a413d4e502
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue