about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@rockstargirl.org>2012-07-31 10:40:27 -0700
committerLindsey Kuper <lindsey@rockstargirl.org>2012-07-31 11:52:16 -0700
commita413d4e502f36f25c57862d285a7f1211451f461 (patch)
treeb9d0a654ab402a33486ac410ae4232354b2b029e
parent439afaa329751b3dfd6735862cd2645705598909 (diff)
downloadrust-a413d4e502f36f25c57862d285a7f1211451f461.tar.gz
rust-a413d4e502f36f25c57862d285a7f1211451f461.zip
Remove "iface" from vim and emacs modes.
-rw-r--r--src/etc/emacs/rust-mode.el2
-rw-r--r--src/etc/vim/syntax/rust.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/emacs/rust-mode.el b/src/etc/emacs/rust-mode.el
index a9691a836cb..64a6a84c082 100644
--- a/src/etc/emacs/rust-mode.el
+++ b/src/etc/emacs/rust-mode.el
@@ -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"
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim
index cc36ab9eac2..49e022b93f6 100644
--- a/src/etc/vim/syntax/rust.vim
+++ b/src/etc/vim/syntax/rust.vim
@@ -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