File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,11 @@ syn match rustExternCrateString /".*"\_s*as/ contained nextgroup=rustIdentifie
65
65
syn keyword rustObsoleteExternMod mod contained nextgroup =rustIdentifier skipwhite skipempty
66
66
67
67
syn match rustIdentifier contains =rustIdentifierPrime " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
68
- syn match rustFuncName " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
68
+ syn match rustFuncName " \% (r# \)\=\% ( [^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
69
69
70
70
syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" ),\= [*+]" contains =TOP
71
71
syn match rustMacroVariable " $\w\+ "
72
+ syn match rustRawIdent " \< r#\h\w *" contains =NONE
72
73
73
74
" Reserved (but not yet used) keywords {{{2
74
75
syn keyword rustReservedKeyword become do priv typeof unsized abstract virtual final override
You can’t perform that action at this time.
0 commit comments