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

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

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

Loading…
Cancel
Save