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
6060syn region rustBoxPlacementBalance start =" \[ " end =" \] " containedin =rustBoxPlacement transparent
6161" {} are handled by rustFoldBraces
6262
63+ syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" )" contains =TOP nextgroup =rustMacroRepeatCount
64+ syn match rustMacroRepeatCount " .\? [*+]" contained
65+ syn match rustMacroVariable " $\w\+ "
66+
6367" Reserved (but not yet used) keywords {{{2
6468syn keyword rustReservedKeyword alignof be do offsetof priv pure sizeof typeof unsized yield
6569
@@ -233,6 +237,9 @@ hi def link rustBinNumber rustNumber
233237hi def link rustIdentifierPrime rustIdentifier
234238hi def link rustTrait rustType
235239
240+ hi def link rustMacroRepeatCount rustMacroRepeatDelimiters
241+ hi def link rustMacroRepeatDelimiters Macro
242+ hi def link rustMacroVariable Define
236243hi def link rustSigil StorageClass
237244hi def link rustEscape Special
238245hi def link rustEscapeUnicode rustEscape
You can’t perform that action at this time.
0 commit comments