mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
Update rust grammar
This commit is contained in:
parent
7c272edbda
commit
123ce8a0ba
|
@ -4,7 +4,7 @@
|
|||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/zargony/atom-language-rust/commit/59893b659a6d674d0d1f6c4158d0f60cea20d190",
|
||||
"version": "https://github.com/zargony/atom-language-rust/commit/179f449a69182cae4fcdf644d59d842b7e445f89",
|
||||
"name": "Rust",
|
||||
"scopeName": "source.rust",
|
||||
"fileTypes": [
|
||||
|
@ -446,17 +446,17 @@
|
|||
{
|
||||
"comment": "Built-in macro",
|
||||
"name": "support.function.builtin.rust",
|
||||
"match": "\\b(macro_rules|format_args|env|option_env|concat_idents|concat|log_syntax|line|column|file|stringify|include|include_str|include_bytes|module_path|asm|cfg|trace_macros)!"
|
||||
"match": "\\b(macro_rules|compile_error|format_args|env|option_env|concat_idents|concat|line|column|file|stringify|include|include_str|include_bytes|module_path|cfg)!"
|
||||
},
|
||||
{
|
||||
"comment": "Core macro",
|
||||
"name": "support.function.core.rust",
|
||||
"match": "\\b(panic|assert|assert_eq|debug_assert|debug_assert_eq|try|write|writeln|unreachable|unimplemented)!"
|
||||
"match": "\\b(panic|assert|assert_eq|assert_ne|debug_assert|debug_assert_eq|debug_assert_ne|try|write|writeln|unreachable|unimplemented)!"
|
||||
},
|
||||
{
|
||||
"comment": "Standard library macro",
|
||||
"name": "support.function.std.rust",
|
||||
"match": "\\b(format|print|println|select|vec)!"
|
||||
"match": "\\b(format|print|println|eprint|eprintln|select|vec)!"
|
||||
},
|
||||
{
|
||||
"comment": "Logging macro",
|
||||
|
|
Loading…
Reference in a new issue