mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
fix(swift): add lambda_literal
Add lambda_literal, which also defines a context in Swift and is used extensively in the language in the form of trailing closures.
This commit is contained in:
parent
f62bfe19e0
commit
5efba33af0
1 changed files with 5 additions and 0 deletions
|
@ -40,3 +40,8 @@
|
|||
(guard_statement
|
||||
(statements) @context.end
|
||||
) @context
|
||||
|
||||
(lambda_literal
|
||||
(statements) @context.end
|
||||
) @context
|
||||
|
||||
|
|
Loading…
Reference in a new issue