aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/rust/highlights.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm
index 88ffcc27..adf579ae 100644
--- a/runtime/queries/rust/highlights.scm
+++ b/runtime/queries/rust/highlights.scm
@@ -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