Sha256: c6ab6b646ca11ecd8a202a6d645dbaeecc5a08e02886794a8372f10c56bceb73

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# Encoding: UTF-8

{fileTypes: ["rhtml", "erb", "html.erb"],
 foldingStartMarker: 
  /(?x)
	(?<_1><(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
	|<!--(?!.*-->)
	|\{\s*(?<_2>$|\?>\s*$|\/\/|\/\*(?<_3>.*\*\/\s*$|(?!.*?\*\/)))
	)/,
 foldingStopMarker: 
  /(?x)
	(?<_1><\/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
	|^\s*-->
	|(?<_2>^|\s)\}
	)/,
 keyEquivalent: "^~R",
 name: "HTML (Rails)",
 patterns: 
  [{begin: /<%+#/,
    captures: {0 => {name: "punctuation.definition.comment.erb"}},
    end: "%>",
    name: "comment.block.erb"},
   {begin: /<%+(?!>)[-=]?/,
    captures: {0 => {name: "punctuation.section.embedded.ruby"}},
    end: "-?%>",
    name: "source.ruby.rails.embedded.html",
    patterns: 
     [{captures: {1 => {name: "punctuation.definition.comment.ruby"}},
       match: /(?<_1>#).*?(?=-?%>)/,
       name: "comment.line.number-sign.ruby"},
      {include: "source.ruby.rails"}]},
   {include: "text.html.basic"}],
 scopeName: "text.html.ruby",
 uuid: "45D7E1FC-7D0B-4105-A1A2-3D10BB555A5C"}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ver-2010.08 config/syntax/HTML (Rails).rb