Rust: Add keyword async, match the entire macro

This commit is contained in:
notoria 2021-06-04 03:01:32 +02:00 committed by Blaž Hrastnik
parent 8af5a9a5cf
commit b2b2d430ae

View File

@ -62,11 +62,9 @@
function: (field_expression
field: (field_identifier) @function.method))
; (macro_invocation
; macro: (identifier) @function.macro
; "!" @function.macro)
(macro_invocation
macro: (identifier) @function.macro)
macro: (identifier) @function.macro
"!" @function.macro)
(macro_invocation
macro: (scoped_identifier
(identifier) @function.macro .))
@ -111,6 +109,7 @@
(lifetime (identifier) @label)
"async" @keyword
"break" @keyword
"const" @keyword
"continue" @keyword