Add Rust type <> pairs (#319)

This commit is contained in:
Mikey
2023-09-02 01:44:35 +12:00
committed by GitHub
parent 582cbc8c2d
commit 02c6836d22

View File

@@ -1,5 +1,14 @@
; inherits: quote
; --------------- types ---------------
(type_arguments
"<" @open.typeargs
">" @close.typeargs) @scope.typeargs
(type_parameters
"<" @open.typeparams
">" @open.typeparams) @scope.typeparams
; --------------- if/else ---------------
(block (if_expression "if" @open.if_) @scope.if_)
(expression_statement (if_expression "if" @open.if_) @scope.if_)