Sha256: 494caec7dff341aa9700d0b237f8794ad3a08f1fcffb016aaa11bbb2449a2a19

Contents?: true

Size: 672 Bytes

Versions: 9

Compression:

Stored size: 672 Bytes

Contents

---
fileTypes:
- js.erb
foldingStartMarker: /\*\*|\{\s*$
foldingStopMarker: \*\*/|^\s*\}
keyEquivalent: ^~J
name: JavaScript (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.erb
  patterns:
  - captures:
      '1':
        name: punctuation.definition.comment.ruby
    match: (#).*?(?=-?%>)
    name: comment.line.number-sign.ruby
  - include: source.ruby.rails
- include: source.js
scopeName: source.js.rails
uuid: 4A3E6DA7-67A3-45B1-9EE0-ECFF9C7FA6C0

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
uv-0.0.7.5 syntax/javascript_rails.syntax
uv-0.0.7.4 syntax/javascript_rails.syntax
uv-0.0.7.3 syntax/javascript_rails.syntax
uv-0.0.7.2 syntax/javascript_rails.syntax
uv-0.0.7.1 syntax/javascript_rails.syntax
uv-0.0.7.0 syntax/javascript_rails.syntax
uv-0.0.6.5 syntax/javascript_rails.syntax
ruby-uv-0.0.6.4 syntax/javascript_rails.syntax
ruby-uv-0.0.6.3 syntax/javascript_rails.syntax