Rust: Add keyword `async`, match the entire macro

pull/110/head
notoria 3 years ago committed by Blaž Hrastnik
parent 8af5a9a5cf
commit b2b2d430ae

@ -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

Loading…
Cancel
Save