Skip to content

Merge next into main #121

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

Merged
merged 113 commits into from
Jun 12, 2024
Merged

Merge next into main #121

merged 113 commits into from
Jun 12, 2024

Conversation

DavisVaughan
Copy link
Member

No description provided.

These don't matter if you use `devtools::check()` as that runs in a temp directory, but not everyone does that.
* Port over tests from DavisVaughan/r-tree-sitter#3

* One more set of skips
* Add `string_content` and `escape_sequence` nodes

* Add `escape_sequence` highlighting

* Add more tree-sitter tests for escapes

* Exclude `\8` and `\9`

* Add more informative R tests
* Document our official state on keywords

Must be a `?Reserved` word specially handled by R's parser. This means we are removing `return` as a keyword, and downstream consumers can highlight this specially if they want.

* Add `return` back in as a special exception to the `?Reserved` rule
* Inline `_identifier` and `_quoted_identifier`

To workaround a tree-sitter bug

* Use PR

* Commit `strings.md` snapshot changes

* Point to `main`
* Trim whitespace

* Fix precedence of `dot_dot_i` rule
* Remove `unmatched_delimiter`

* Add more motivating tests for no `unmatched_delimiter`

* Rerun with updated treesitter package and grammar

* Tweak outdated comment
To make it easier to grab these nodes by name, rather than by index
* Update snaps with fixed field name function

* Point at PR

* Merged
@DavisVaughan DavisVaughan merged commit f8a3b66 into main Jun 12, 2024
20 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.

3 participants