From bd81b1eb7330a4147b97389ba97f7c08eb1eb2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=D0=B0=D0=B2=D0=B2=D0=B8=D0=B4=D0=B8=D1=81?= Date: Mon, 10 Dec 2018 23:00:57 +0100 Subject: [PATCH] Support schema, javascript and stylesheet --- syntaxes/liquid.tmLanguage | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/syntaxes/liquid.tmLanguage b/syntaxes/liquid.tmLanguage index 8acd1a6..a36b16a 100644 --- a/syntaxes/liquid.tmLanguage +++ b/syntaxes/liquid.tmLanguage @@ -7,9 +7,9 @@ liquid foldingStartMarker - (?x){%\s*(if|unless|for|paginate|capture|form|case|tablerow|raw|comment)[^(%})]+%} + (?x){%\s*(if|unless|for|paginate|capture|form|case|tablerow|raw|comment|schema|javascript|stylesheet)[^(%})]+%} foldingStopMarker - (?x){%\s*(endif|endunless|endfor|endpaginate|endcapture|endform|endcase|endtablerow|endraw|endcomment)[^(%})]+%} + (?x){%\s*(endif|endunless|endfor|endpaginate|endcapture|endform|endcase|endtablerow|endraw|endcomment|endschema|endjavascript|endstylesheet)[^(%})]+%} name HTML (Liquid) patterns @@ -60,6 +60,14 @@ include text.html.basic + + include + source.json + + + include + source.css + repository @@ -240,7 +248,7 @@ match - \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 + \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 name support.class.liquid