diff options
| -rw-r--r-- | queries/rust/highlights.scm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index fa81ffbc..9daee93a 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -20,7 +20,7 @@ (call_expression function: (identifier) @function) (call_expression - function: (scoped_identifier + function: (scoped_identifier (identifier) @function .)) (call_expression function: (field_expression @@ -97,11 +97,13 @@ ] @comment [ -"(" -")" -"[" -"]" - ] @punctuation.bracket + "(" + ")" + "[" + "]" + "{" + "}" +] @punctuation.bracket (type_arguments "<" @punctuation.bracket |
