diff options
| author | Kasper Kondzielski <kghost0@gmail.com> | 2023-04-28 00:24:35 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-04-28 00:34:23 +0200 |
| commit | ee64345a3774eaecee5ddec8648390e86450eec8 (patch) | |
| tree | 41bceb28f2935b461d53ef9d83c6c01c422c57e1 | |
| parent | Update parsers: kdl, kotlin, t32 (#4720) (diff) | |
| download | nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar.gz nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar.bz2 nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar.lz nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar.xz nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.tar.zst nvim-treesitter-ee64345a3774eaecee5ddec8648390e86450eec8.zip | |
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.
| -rw-r--r-- | queries/scala/locals.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/scala/locals.scm b/queries/scala/locals.scm index 928d7e723..dc19c7aa4 100644 --- a/queries/scala/locals.scm +++ b/queries/scala/locals.scm @@ -3,7 +3,7 @@ [ (template_body) (lambda_expression) - (function_declaration) + (function_definition) (block) ] @scope |
