Skip to content

Commit 123ce8a

Browse files
committed
Update rust grammar
1 parent 7c272ed commit 123ce8a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extensions/rust/syntaxes/rust.tmLanguage.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/zargony/atom-language-rust/commit/59893b659a6d674d0d1f6c4158d0f60cea20d190",
7+
"version": "https://github.com/zargony/atom-language-rust/commit/179f449a69182cae4fcdf644d59d842b7e445f89",
88
"name": "Rust",
99
"scopeName": "source.rust",
1010
"fileTypes": [
@@ -446,17 +446,17 @@
446446
{
447447
"comment": "Built-in macro",
448448
"name": "support.function.builtin.rust",
449-
"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)!"
449+
"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)!"
450450
},
451451
{
452452
"comment": "Core macro",
453453
"name": "support.function.core.rust",
454-
"match": "\\b(panic|assert|assert_eq|debug_assert|debug_assert_eq|try|write|writeln|unreachable|unimplemented)!"
454+
"match": "\\b(panic|assert|assert_eq|assert_ne|debug_assert|debug_assert_eq|debug_assert_ne|try|write|writeln|unreachable|unimplemented)!"
455455
},
456456
{
457457
"comment": "Standard library macro",
458458
"name": "support.function.std.rust",
459-
"match": "\\b(format|print|println|select|vec)!"
459+
"match": "\\b(format|print|println|eprint|eprintln|select|vec)!"
460460
},
461461
{
462462
"comment": "Logging macro",

0 commit comments

Comments
 (0)