Skip to content

Commit

Permalink
Merge pull request #15 from panoply/master
Browse files Browse the repository at this point in the history
Support schema, javascript and stylesheet
  • Loading branch information
GingerBear authored Dec 11, 2018
2 parents 5fbf0b3 + bd81b1e commit bfd2cd5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions syntaxes/liquid.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<string>liquid</string>
</array>
<key>foldingStartMarker</key>
<string>(?x){%\s*(if|unless|for|paginate|capture|form|case|tablerow|raw|comment)[^(%})]+%}</string>
<string>(?x){%\s*(if|unless|for|paginate|capture|form|case|tablerow|raw|comment|schema|javascript|stylesheet)[^(%})]+%}</string>
<key>foldingStopMarker</key>
<string>(?x){%\s*(endif|endunless|endfor|endpaginate|endcapture|endform|endcase|endtablerow|endraw|endcomment)[^(%})]+%}</string>
<string>(?x){%\s*(endif|endunless|endfor|endpaginate|endcapture|endform|endcase|endtablerow|endraw|endcomment|endschema|endjavascript|endstylesheet)[^(%})]+%}</string>
<key>name</key>
<string>HTML (Liquid)</string>
<key>patterns</key>
Expand Down Expand Up @@ -60,6 +60,14 @@
<key>include</key>
<string>text.html.basic</string>
</dict>
<dict>
<key>include</key>
<string>source.json</string>
</dict>
<dict>
<key>include</key>
<string>source.css</string>
</dict>
</array>
<key>repository</key>
<dict>
Expand Down Expand Up @@ -240,7 +248,7 @@
</dict>
<dict>
<key>match</key>
<string>\b(collection|product|linklist|linklists|order|link|customer|customer_address|line_item|shop|collections|page_title|template|image|blog|blogs|cart|pages|theme|themes|variant|items|comment|forloop|settings)\b</string>
<string>\b(collection|product|linklist|linklists|order|link|customer|customer_address|line_item|shop|collections|page_title|template|image|blog|blogs|cart|pages|theme|themes|variant|items|comment|forloop|settings|schema|javascript|stylesheet)\b</string>
<key>name</key>
<string>support.class.liquid</string>
</dict>
Expand Down

0 comments on commit bfd2cd5

Please sign in to comment.