Skip to content

Commit 351f7af

Browse files
committed
auto merge of #18793 : swgillespie/rust/master, r=alexcrichton
I noticed today that `move` wasn't getting highlighted in my editor of choice (emacs), so I went ahead and added it as a keyword in the emacs, vim, and kate editor files. Apparently it has already been done for gedit.
2 parents 8f87538 + 27774e8 commit 351f7af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/etc/emacs/rust-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
"false" "fn" "for"
177177
"if" "impl" "in"
178178
"let" "loop"
179-
"match" "mod" "mut"
179+
"match" "mod" "move" "mut"
180180
"priv" "proc" "pub"
181181
"ref" "return"
182182
"self" "static" "struct" "super"

src/etc/kate/rust.xml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<item> loop </item>
3535
<item> match </item>
3636
<item> mod </item>
37+
<item> move </item>
3738
<item> mut </item>
3839
<item> priv </item>
3940
<item> pub </item>

0 commit comments

Comments
 (0)