pygments / pygments.rb

💎 Ruby wrapper for Pygments syntax highlighter
MIT License
572 stars 141 forks source link

Fixing Ruby squiggly heredoc parsing in vendored pygments #178

Closed chapmajs closed 7 years ago

chapmajs commented 7 years ago

This PR fixes the vendored copy of Pygments for squiggly heredoc parsing. I've got a patch in to the Pygments team, as follows:

https://gist.github.com/chapmajs/ea78713bf457c47984bf1be70101696d

But, I figure this PR solves an immediate issue now. Currently running off my fork in production.

gfx commented 7 years ago

Merged, but might be removed if I pull the new version of pygments.

chapmajs commented 7 years ago

Understood! Thanks for the quick response. Hopefully my patch will be accepted into upstream Pygments so I don't have to keep patching pygments.rb!