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

enh(elixir) improve heredoc and sigil support #2257

Merged
merged 7 commits into from
Nov 12, 2019

Conversation

joshgoebel
Copy link
Member

No description provided.

@joshgoebel
Copy link
Member Author

My attempt to save something from #927.

Turned out just to be a markup test that I then went on to expand.

I believe this solves points 1 and 2 from #730

},
{
begin: /~S"""/, end: /"""/,
contains: []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get... What is the point in empty contains?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's needed to override the contains on line 64... variants "inherit", so it's needed to break that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah.

Copy link
Collaborator

@egor-rogov egor-rogov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me it looks sane.

@joshgoebel joshgoebel merged commit c87f538 into highlightjs:master Nov 12, 2019
@joshgoebel joshgoebel deleted the some_elixir_fixes branch December 6, 2019 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement An enhancement or new feature language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants