Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add missing tags.scm file for R language #1729

Open
bcgalvin opened this issue Sep 25, 2024 · 2 comments · May be fixed by #2915
Open

Feature request: Add missing tags.scm file for R language #1729

bcgalvin opened this issue Sep 25, 2024 · 2 comments · May be fixed by #2915
Labels
enhancement New feature or request priority

Comments

@bcgalvin
Copy link

Issue

The aider/queries/README.md lists https://github.com/r-lib/tree-sitter-r for R language support, but there's no tags.scm file for R in aider/queries/ (and is the only listed language missing this file).

I plan to submit a PR for this but am curious about this line in the queries/ README: Aider uses modified versions of the tags.scm files.. is there any guidance on what modifications are made from the language scm files to be compatible with aider?

Version and model info

No response

@fry69 fry69 added the enhancement New feature or request label Sep 25, 2024
@bcgalvin
Copy link
Author

think I know why its missing, tree-sitter-languages is kind of unmaintained and is using an old version of the r-lib tree sitter library:

https://github.com/grantjenks/py-tree-sitter-languages/blob/v1.10.2/repos.txt#L18C40-L18C80

and the tags are empty
https://github.com/r-lib/tree-sitter-r/blob/c55f8b4dfaa32c80ddef6c0ac0e79b05cb0cbf57/queries/tags.scm

are there plans to move off from tree-sitter-languages? it would be nice to not have it as a dependency since it seems semi-abandoned and stuck on the older tree-sitter api

@gdmcdonald
Copy link

Second/third this and just clarifying; the tags.scm file for R language support is here:
https://github.com/r-lib/tree-sitter-r/blob/main/queries/tags.scm

@gdmcdonald gdmcdonald linked a pull request Jan 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants