diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-01-03 22:42:17 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-01-04 08:22:54 +0100 |
| commit | 3d4662e79782f6a9706c441fc63e873148568a27 (patch) | |
| tree | 06c7a016b5221895df781494efff0290107c21e8 /queries/rust | |
| parent | 456ca55f0c583f26dbdfc42e71b1fc44fdcef49f (diff) | |
Rust: highlight brackets
Diffstat (limited to 'queries/rust')
| -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 |
