Include ruby grammar for fenced ruby blocks

This commit is contained in:
Kevin Sawicki 2013-04-26 08:58:43 -07:00
parent dccd5ec8ba
commit 4940439f4b

View File

@ -89,6 +89,16 @@
'name': 'markup.code.xml.gfm'
'patterns': ['include': 'text.xml']
}
{
'begin': '^```(ruby|rb)$'
'beginCaptures':
'0': 'name': 'support.gfm'
'end': '^```$'
'endCaptures':
'0': 'name': 'support.gfm'
'name': 'markup.code.ruby.gfm'
'patterns': ['include': 'source.ruby']
}
{
'begin': '^```.*$'
'beginCaptures':