diff --git a/aider/queries/tree-sitter-c-tags.scm b/aider/queries/tree-sitter-c-tags.scm index 9258ee25b..1035aa224 100644 --- a/aider/queries/tree-sitter-c-tags.scm +++ b/aider/queries/tree-sitter-c-tags.scm @@ -1,6 +1,6 @@ (struct_specifier name: (type_identifier) @name.definition.class body:(_)) @definition.class -(declaration type: (union_specifier name: (type_identifier) @name)) @definition.class +(declaration type: (union_specifier name: (type_identifier) @name.definition.class)) @definition.class (function_declarator declarator: (identifier) @name.definition.function) @definition.function diff --git a/docs/repomap.md b/docs/repomap.md index e3ebcb80a..5bbba02d9 100644 --- a/docs/repomap.md +++ b/docs/repomap.md @@ -188,13 +188,12 @@ Aider uses from these open source tree-sitter language implementations: -* https://github.com/Wilfred/tree-sitter-elisp — licensed under the MIT License. -* https://github.com/camdencheek/tree-sitter-go-mod — licensed under the MIT License. -* https://github.com/elixir-lang/tree-sitter-elixir — licensed under the Apache License, Version 2.0. -* https://github.com/elm-tooling/tree-sitter-elm — licensed under the MIT License. -* https://github.com/r-lib/tree-sitter-r — licensed under the MIT License. +* https://github.com/tree-sitter/tree-sitter-c — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-c-sharp — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-cpp — licensed under the MIT License. +* https://github.com/Wilfred/tree-sitter-elisp — licensed under the MIT License. +* https://github.com/elixir-lang/tree-sitter-elixir — licensed under the Apache License, Version 2.0. +* https://github.com/elm-tooling/tree-sitter-elm — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-go — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-java — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-javascript — licensed under the MIT License. @@ -202,6 +201,7 @@ open source tree-sitter language implementations: * https://github.com/tree-sitter/tree-sitter-php — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-python — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-ql — licensed under the MIT License. +* https://github.com/r-lib/tree-sitter-r — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-ruby — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-rust — licensed under the MIT License. * https://github.com/tree-sitter/tree-sitter-typescript — licensed under the MIT License.