Add 'continue' keyword to emacs, vim, gedit, kate

This commit is contained in:
Brian Anderson 2013-09-26 15:04:43 -07:00
parent 88272a4f24
commit c1d64297f0
4 changed files with 4 additions and 1 deletions

View File

@ -127,6 +127,7 @@
(defconst rust-mode-keywords
'("as"
"break"
"continue"
"do"
"else" "enum" "extern"
"false" "fn" "for"

View File

@ -39,6 +39,7 @@
<keyword>assert</keyword>
<keyword>break</keyword>
<keyword>const</keyword>
<keyword>continue</keyword>
<keyword>do</keyword>
<keyword>drop</keyword>
<keyword>else</keyword>

View File

@ -18,6 +18,7 @@
<list name="keywords">
<item> as </item>
<item> break </item>
<item> continue </item>
<item> do </item>
<item> drop </item>
<item> else </item>

View File

@ -18,7 +18,7 @@ syn keyword rustOperator as
syn match rustAssert "\<assert\(\w\)*!" contained
syn match rustFail "\<fail\(\w\)*!" contained
syn keyword rustKeyword break do extern
syn keyword rustKeyword break continue do extern
syn keyword rustKeyword in if impl let log
syn keyword rustKeyword for impl let log
syn keyword rustKeyword loop mod once priv pub