File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 32
32
},
33
33
{
34
34
"name" : " meta.initialization.rust" ,
35
- "match" : " (let)\\ s+(mut\\ s+)?([[:alpha:]_][[:alnum:]_]*)\\ s*(:.+)?(=)" ,
35
+ "match" : " (let)\\ s+(mut\\ s+)?([[:alpha:]_][[:alnum:]_]*)\\ s*(:.+? )?(=)" ,
36
36
"captures" : {
37
37
"1" : {"name" : " keyword.source.rust" },
38
38
"2" : {"name" : " keyword.source.rust" },
Original file line number Diff line number Diff line change 111
111
<key >comment </key >
112
112
<string >This matches the 'let x = val' style of variable intitialization. </string >
113
113
<key >match </key >
114
- <string >(let)\s+(mut\s+)?([[:alpha:]_][[:alnum:]_]*)\s*(:.+)?(=) </string >
114
+ <string >(let)\s+(mut\s+)?([[:alpha:]_][[:alnum:]_]*)\s*(:.+? )?(=) </string >
115
115
<key >name </key >
116
116
<string >meta.initialization.rust </string >
117
117
</dict >
You can’t perform that action at this time.
0 commit comments