mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
TS Rust add if let. (#245)
Co-authored-by: Allen Hsu <allen.hsusp+git@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user