mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
fix: Correct scope definition for scala
`@scope` included `function_declaration` while is should have included `function_definition` instead. The former one is used to declare abstract functions while the latter one is used to define functions together with their bodies.
This commit is contained in:
parent
08e8b2c08b
commit
ee64345a37
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
[
|
[
|
||||||
(template_body)
|
(template_body)
|
||||||
(lambda_expression)
|
(lambda_expression)
|
||||||
(function_declaration)
|
(function_definition)
|
||||||
(block)
|
(block)
|
||||||
] @scope
|
] @scope
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue