Skip to content

Commit 47011e3

Browse files
committed
vim: use Operator group for 'as'
1 parent 6442b1c commit 47011e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/etc/vim/syntax/rust.vim

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ elseif exists("b:current_syntax")
1111
endif
1212

1313
syn keyword rustConditional match if else
14+
syn keyword rustOperator as
1415

15-
syn keyword rustKeyword as break
16+
syn keyword rustKeyword break copy do drop extern
1617
syn keyword rustKeyword for if impl let log
1718
syn keyword rustKeyword copy do drop extern
1819
syn keyword rustKeyword for impl let log
@@ -127,6 +128,7 @@ hi def link rustBoolean Boolean
127128
hi def link rustConstant Constant
128129
hi def link rustSelf Constant
129130
hi def link rustFloat Float
131+
hi def link rustOperator Operator
130132
hi def link rustKeyword Keyword
131133
hi def link rustConditional Conditional
132134
hi def link rustIdentifier Identifier

0 commit comments

Comments
 (0)