mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
TS js: add try statement (#265)
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
"if" @open.if) @scope.if
|
||||
(#not-has-parent? @scope.if else_clause))
|
||||
|
||||
; try
|
||||
(try_statement "try" @open.try) @scope.try
|
||||
(catch_clause "catch" @mid.try.1)
|
||||
(finally_clause "finally" @mid.try.2)
|
||||
|
||||
; template strings
|
||||
(template_string
|
||||
"`" @open.tmpl_str
|
||||
|
||||
Reference in New Issue
Block a user