We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$(...)?
1 parent 4aa69b8 commit aa9b47dCopy full SHA for aa9b47d
syntax/rust.vim
@@ -68,6 +68,7 @@ syn match rustIdentifier contains=rustIdentifierPrime "\%([^[:cntrl:][:spac
68
syn match rustFuncName "\%(r#\)\=\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
69
70
syn region rustMacroRepeat matchgroup=rustMacroRepeatDelimiters start="$(" end="),\=[*+]" contains=TOP
71
+syn region rustMacroRepeat matchgroup=rustMacroRepeatDelimiters start="$(" end=")?" contains=TOP
72
syn match rustMacroVariable "$\w\+"
73
syn match rustRawIdent "\<r#\h\w*" contains=NONE
74
0 commit comments