Skip to content

Commit

Permalink
fix(scala): Add missing locals definitions for scala
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostbuster91 authored and amaanq committed Apr 1, 2023
1 parent ee1d618 commit 06075ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions queries/scala/locals.scm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
(template_body)
(lambda_expression)
(function_declaration)
(block)
] @scope

; References
Expand All @@ -21,6 +22,9 @@
(parameter
name: (identifier) @definition.parameter)

(class_parameter
name: (identifier) @definition.parameter)

(binding
name: (identifier) @definition.var)

Expand Down

0 comments on commit 06075ec

Please sign in to comment.