mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
Rust: highlight brackets
This commit is contained in:
parent
456ca55f0c
commit
3d4662e797
1 changed files with 8 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue