Rust: highlight brackets

This commit is contained in:
Santos Gallegos 2021-01-03 22:42:17 -05:00 committed by Thomas Vigouroux
parent 456ca55f0c
commit 3d4662e797

View file

@ -20,7 +20,7 @@
(call_expression (call_expression
function: (identifier) @function) function: (identifier) @function)
(call_expression (call_expression
function: (scoped_identifier function: (scoped_identifier
(identifier) @function .)) (identifier) @function .))
(call_expression (call_expression
function: (field_expression function: (field_expression
@ -97,11 +97,13 @@
] @comment ] @comment
[ [
"(" "("
")" ")"
"[" "["
"]" "]"
] @punctuation.bracket "{"
"}"
] @punctuation.bracket
(type_arguments (type_arguments
"<" @punctuation.bracket "<" @punctuation.bracket