mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue