TS Rust add if let. (#245)

Co-authored-by: Allen Hsu <allen.hsusp+git@gmail.com>
This commit is contained in:
Allen Hsu
2022-09-12 02:03:38 +10:00
committed by GitHub
parent 9aa08cd0bf
commit ab8575d05f

View File

@@ -1,6 +1,7 @@
; --------------- if/else ---------------
(block (if_expression "if" @open.if_) @scope.if_)
(let_declaration (if_expression "if" @open.if_) @scope.if_)
(if_let_expression "if" @open.if_) @scope.if_
(else_clause "else" @mid.if_.1 (block))
(else_clause