File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
]
23
23
},
24
24
{"name" : " meta.function.source.rust" ,
25
- "match" : " \\ b(fn)\\ s+([a-zA-Z_][a-zA-Z0-9_]?[\\ w\\ :,+ \\ '<>]*) \\ s*\\ (" ,
25
+ "match" : " \\ b(fn)\\ s+([a-zA-Z_][a-zA-Z0-9_]?) [\\ w\\ :,+ \\ '<>]*\\ s*\\ (" ,
26
26
"captures" : {
27
27
"1" : {"name" : " keyword.source.rust" },
28
28
"2" : {"name" : " entity.name.function.source.rust" }
29
29
}
30
30
},
31
31
{"name" : " keyword.source.rust" ,
32
- "match" : " \\ b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|impl|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\\ b"
32
+ "match" : " \\ b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|in| impl|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\\ b"
33
33
},
34
34
{"name" : " storage.type.source.rust" ,
35
35
"match" : " \\ b(Self|m32|m64|m128|f80|f16|f128|int|uint|float|char|bool|u8|u16|u32|u64|f32|f64|i8|i16|i32|i64|str|Option|Either|c_float|c_double|c_void|FILE|fpos_t|DIR|dirent|c_char|c_schar|c_uchar|c_short|c_ushort|c_int|c_uint|c_long|c_ulong|size_t|ptrdiff_t|clock_t|time_t|c_longlong|c_ulonglong|intptr_t|uintptr_t|off_t|dev_t|ino_t|pid_t|mode_t|ssize_t)\\ b"
You can’t perform that action at this time.
0 commit comments