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

Update tree-sitter-cpp, support injections in tagged rawstrings #5457

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

sam-mccall
Copy link
Contributor

The grammar now exposes the delimiter of raw-strings. We can now inject the inner grammar in cases like:

const char* script = R"js(
  alert('hello world!');
)js";

The grammar now exposes the delimiter of raw-strings.
We can now inject the inner grammar in cases like:

    const char* script = R"js(
      alert('hello world!');
    )js";
@the-mikedavis the-mikedavis added C-enhancement Category: Improvements S-waiting-on-review Status: Awaiting review from a maintainer. A-language-support Area: Support for programming/text languages labels Jan 9, 2023
@the-mikedavis the-mikedavis merged commit a8248c5 into helix-editor:master Jan 11, 2023
kirawi pushed a commit to kirawi/helix that referenced this pull request Jan 25, 2023
…x-editor#5457)

The grammar now exposes the delimiter of raw-strings.
We can now inject the inner grammar in cases like:

    const char* script = R"js(
      alert('hello world!');
    )js";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages C-enhancement Category: Improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants