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

feat: add queries for R #450

Merged
merged 2 commits into from
Mar 6, 2025
Merged

feat: add queries for R #450

merged 2 commits into from
Mar 6, 2025

Conversation

wurli
Copy link
Contributor

@wurli wurli commented Feb 25, 2025

Adds support for R. Only adds one query for function definitions, but this is really all that's needed since R is a highly functional language.

I also added a test file r_test.R, but I wasn't able to get tests to run properly. Is there more to this than sourcing tests/minimal_init.lua and then using :RunTests?

Thanks!

@github-actions github-actions bot requested a review from stevearc February 25, 2025 16:48
@stevearc
Copy link
Owner

stevearc commented Mar 5, 2025

You're going to want to run make update_snapshots to generate the symbols snapshot for the test, after which make test will run the tests

@wurli
Copy link
Contributor Author

wurli commented Mar 6, 2025

You're going to want to run make update_snapshots to generate the symbols snapshot for the test, after which make test will run the tests

Thanks! symbols/r_test.json now added :)

@stevearc
Copy link
Owner

stevearc commented Mar 6, 2025

Looks good, thanks for the PR!

@stevearc stevearc merged commit fdf9e2e into stevearc:master Mar 6, 2025
9 checks passed
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.

2 participants