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

Add tags.scm for Kotlin #2895

Merged

Conversation

pauldw
Copy link
Contributor

@pauldw pauldw commented Jan 18, 2025

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jan 18, 2025

CLA assistant check
All committers have signed the CLA.

@paul-gauthier
Copy link
Collaborator

Thanks for putting together this PR.

Where did you obtain the scm file?

@pauldw
Copy link
Contributor Author

pauldw commented Jan 18, 2025

Where did you obtain the scm file?

I wrote it myself as tree-sitter-kotlin doesn't include a tags.scm query file (see https://github.com/fwcd/tree-sitter-kotlin/tree/main/queries) .

I manually tested the queries using the tree-sitter-kotlin web app: https://fwcd.github.io/tree-sitter-kotlin/ .

I roughly tried to match the same node types as the java tag queries.

@paul-gauthier paul-gauthier merged commit c395be2 into Aider-AI:main Jan 19, 2025
10 checks passed
@paul-gauthier
Copy link
Collaborator

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants