File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ syn keyword rustObsoleteExternMod mod contained nextgroup=rustIdentifier skipw
67
67
syn match rustIdentifier contains =rustIdentifierPrime " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
68
68
syn match rustFuncName " \% (r#\)\=\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
69
69
70
- syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" ),\= [*+]" contains =TOP
70
+ syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" )\% ( ,\= [*+]\| ? \) " contains =TOP
71
71
syn match rustMacroVariable " $\w\+ "
72
72
syn match rustRawIdent " \< r#\h\w *" contains =NONE
73
73
You can’t perform that action at this time.
0 commit comments