mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 03:54:40 +00:00
Add 'continue' keyword to emacs, vim, gedit, kate
This commit is contained in:
parent
88272a4f24
commit
c1d64297f0
@ -127,6 +127,7 @@
|
||||
(defconst rust-mode-keywords
|
||||
'("as"
|
||||
"break"
|
||||
"continue"
|
||||
"do"
|
||||
"else" "enum" "extern"
|
||||
"false" "fn" "for"
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user