File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ syn region rustBoxPlacementBalance start="(" end=")" containedin=rustBoxPlace
60
60
syn region rustBoxPlacementBalance start =" \[ " end =" \] " containedin =rustBoxPlacement transparent
61
61
" {} are handled by rustFoldBraces
62
62
63
+ syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" )" contains =TOP nextgroup =rustMacroRepeatCount
64
+ syn match rustMacroRepeatCount " .\? [*+]" contained
65
+ syn match rustMacroVariable " $\w\+ "
66
+
63
67
" Reserved (but not yet used) keywords {{{2
64
68
syn keyword rustReservedKeyword alignof be do offsetof priv pure sizeof typeof unsized yield
65
69
@@ -233,6 +237,9 @@ hi def link rustBinNumber rustNumber
233
237
hi def link rustIdentifierPrime rustIdentifier
234
238
hi def link rustTrait rustType
235
239
240
+ hi def link rustMacroRepeatCount rustMacroRepeatDelimiters
241
+ hi def link rustMacroRepeatDelimiters Macro
242
+ hi def link rustMacroVariable Define
236
243
hi def link rustSigil StorageClass
237
244
hi def link rustEscape Special
238
245
hi def link rustEscapeUnicode rustEscape
You can’t perform that action at this time.
0 commit comments