mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
re-add catch_clause
This commit is contained in:
parent
4db7336716
commit
5c121eb318
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
; try/catch
|
||||
(try_statement) @scope ; covers try+catch, individual try and catch are covered by (block)
|
||||
(catch_clause) @scope ; needed because `Exception` variable
|
||||
|
||||
; loops
|
||||
(for_statement) @scope ; whole for_statement because loop iterator variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue