Create a gist now

Instantly share code, notes, and snippets.

This is a test for the pygments ruby syntax higlighter to test hash symbols syntax in Ruby 1.9
{ :old_syntax => 'ok' }
{ 'stings as key' => 'should be ok' }
{ new_syntax: 'broken' }
{ withoutunderscore: 'should be ok' }
{ _underscoreinfront: 'might be ok, if I understand the pygments code correct' }

as you can see in line #3 the one hash syntax is broken, and I think the problem is in this line of code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment