Skip to content

Commit

Permalink
update grammars to latest shopify theme docs
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed May 4, 2023
1 parent 92a9976 commit 46dd2f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntax/liquid.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,23 +494,23 @@
},
{
"name": "support.class.object-value.liquid",
"match": "(?!\\.)\\b(media|address|app|discount|article|block|blog|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_allocation|discount_application|external_video|filter|filter_value|focal_point|font|form|fulfillment|generic_file|gift_card|image|image_presentation|line_item|link|linklist|forloop|tablerowloop|localization|location|market|measurement|metafield|metaobject_definition|metaobject|metaobject_system|model|model_source|money|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|rating|recipient|recommendations|request|robots|group|rule|routes|script|search|section|selling_plan_allocation|selling_plan_allocation_price_adjustment|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|form_errors|page_image|part|pending_payment_instruction_input|predictive_search_resources|quantity_rule|scripts|sitemap|sort_option|transaction_payment_details|user_agent)\\b(?![\\.])"
"match": "(?!\\.)\\b(media|address|app|discount|article|block|blog|brand|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_allocation|discount_application|external_video|filter|filter_value|focal_point|font|form|fulfillment|generic_file|gift_card|image|image_presentation|line_item|link|linklist|forloop|tablerowloop|localization|location|market|measurement|metafield|metaobject_definition|metaobject|metaobject_system|model|model_source|money|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|rating|recipient|recommendations|request|robots|group|rule|routes|script|search|section|selling_plan_allocation|selling_plan_allocation_price_adjustment|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|form_errors|page_image|part|pending_payment_instruction_input|predictive_search_resources|quantity_rule|scripts|sitemap|sort_option|transaction_payment_details|user_agent)\\b(?![\\.])"
},
{
"name": "support.class.object-value.liquid",
"match": "(?<=\\.\\s*)\\b(media|address|app|discount|article|block|blog|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_allocation|discount_application|external_video|filter|filter_value|focal_point|font|form|fulfillment|generic_file|gift_card|image|image_presentation|line_item|link|linklist|forloop|tablerowloop|localization|location|market|measurement|metafield|metaobject_definition|metaobject|metaobject_system|model|model_source|money|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|rating|recipient|recommendations|request|robots|group|rule|routes|script|search|section|selling_plan_allocation|selling_plan_allocation_price_adjustment|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|form_errors|page_image|part|pending_payment_instruction_input|predictive_search_resources|quantity_rule|scripts|sitemap|sort_option|transaction_payment_details|user_agent)\\b"
"match": "(?<=\\.\\s*)\\b(media|address|app|discount|article|block|blog|brand|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_allocation|discount_application|external_video|filter|filter_value|focal_point|font|form|fulfillment|generic_file|gift_card|image|image_presentation|line_item|link|linklist|forloop|tablerowloop|localization|location|market|measurement|metafield|metaobject_definition|metaobject|metaobject_system|model|model_source|money|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|rating|recipient|recommendations|request|robots|group|rule|routes|script|search|section|selling_plan_allocation|selling_plan_allocation_price_adjustment|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|form_errors|page_image|part|pending_payment_instruction_input|predictive_search_resources|quantity_rule|scripts|sitemap|sort_option|transaction_payment_details|user_agent)\\b"
},
{
"name": "string.other.object-value.liquid",
"match": "\\b(all_country_option_tags|canonical_url|content_for_additional_checkout_buttons|content_for_index|content_for_layout|country_option_tags|handle|page_description|page_title)\\b"
"match": "\\b(brand_color|all_country_option_tags|canonical_url|content_for_additional_checkout_buttons|content_for_index|content_for_layout|country_option_tags|handle|page_description|page_title)\\b"
},
{
"name": "constant.numeric.object-value.liquid",
"match": "\\b(current_page)\\b"
},
{
"name": "string.other.property-value.liquid",
"match": "(?<=(?:media|address|discount|article|block|blog|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_application|external_video|filter|filter_value|font|form|fulfillment|generic_file|gift_card|image|line_item|link|linklist|location|market|measurement|metafield|metaobject_system|model|model_source|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|recipient|recommendations|request|rule|routes|script|search|section|selling_plan_allocation|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|part|pending_payment_instruction_input|sitemap|sort_option|transaction_payment_details|user_agent)\\s*\\.)\\s*\\b(media_type|alt|company|phone|first_name|last_name|name|url|summary|address1|address2|city|zip|country_code|province_code|street|province|code|title|type|author|handle|id|template_suffix|created_at|published_at|updated_at|comment_post_url|content|excerpt|excerpt_or_content|shopify_attributes|note|description|current_vendor|current_type|sort_by|default_sort_by|rgb|rgba|attention|url_to_set_as_current|iso_code|unit_system|symbol|email|target_selection|value_type|target_type|external_id|host|param_name|label|url_to_remove|value|url_to_add|family|fallback_families|style|body|country|set_as_default_checkbox|tracking_company|tracking_number|tracking_url|currency|message|expires_on|qr_identifier|pass_url|last_four_characters|src|fulfillment_service|sku|vendor|key|unit|format|mime_type|cancel_reason|cancel_reason_label|cancelled_at|customer_url|financial_status|fulfillment_status|fulfillment_status_label|order_status_url|customer_order_url|page_param|terms|selected_value|barcode|options|option1|option2|option3|weight_unit|inventory_management|inventory_policy|next_incoming_date|nickname|intent|page_type|origin|path|directive|root_url|account_url|account_login_url|account_logout_url|account_recover_url|account_register_url|account_addresses_url|collections_url|all_products_collection_url|search_url|predictive_search_url|cart_url|cart_add_url|cart_change_url|cart_clear_url|cart_update_url|product_recommendations_url|selling_plan_group_id|group_id|app_id|secure_url|domain|permanent_domain|password_message|enabled_payment_types|endonym_name|pick_up_time|role|suffix|directory|status|receipt|kind|gateway|status_label|amount|gateway_display_name|buyer_pending_payment_notice|measured_type|quantity_unit|reference_unit|bio|homepage|fulfilled_at|gift_cards_amount|order_id|order_name|order_number|header|credit_card_company|credit_card_last_four_digits|credit_card_number)\\b"
"match": "(?<=(?:media|address|discount|article|block|blog|brand|cart|collection|color|company_address|company|company_location|country|currency|customer|discount_application|external_video|filter|filter_value|font|form|fulfillment|generic_file|gift_card|image|line_item|link|linklist|location|market|measurement|metafield|metaobject_system|model|model_source|order|page|paginate|predictive_search|selling_plan_price_adjustment|product|product_option|variant|recipient|recommendations|request|rule|routes|script|search|section|selling_plan_allocation|selling_plan_checkout_charge|selling_plan|selling_plan_group|selling_plan_group_option|selling_plan_option|shipping_method|shop|shop_locale|policy|store_availability|tax_line|theme|template|transaction|unit_price_measurement|user|video|video_source|checkout|comment|part|pending_payment_instruction_input|sitemap|sort_option|transaction_payment_details|user_agent)\\s*\\.)\\s*\\b(media_type|alt|company|phone|first_name|last_name|name|url|summary|address1|address2|city|zip|country_code|province_code|street|province|code|title|type|author|handle|id|template_suffix|created_at|published_at|updated_at|comment_post_url|content|excerpt|excerpt_or_content|shopify_attributes|slogan|short_description|note|description|current_vendor|current_type|sort_by|default_sort_by|rgb|rgba|attention|url_to_set_as_current|iso_code|unit_system|symbol|email|target_selection|value_type|target_type|external_id|host|param_name|label|url_to_remove|value|url_to_add|family|fallback_families|style|body|country|set_as_default_checkbox|message|tracking_company|tracking_number|tracking_url|currency|send_on|expires_on|qr_identifier|pass_url|last_four_characters|src|fulfillment_service|sku|vendor|key|unit|format|mime_type|cancel_reason|cancel_reason_label|cancelled_at|customer_url|financial_status|fulfillment_status|fulfillment_status_label|order_status_url|customer_order_url|page_param|terms|selected_value|barcode|options|option1|option2|option3|weight_unit|inventory_management|inventory_policy|next_incoming_date|nickname|intent|page_type|origin|path|directive|root_url|account_url|account_login_url|account_logout_url|account_recover_url|account_register_url|account_addresses_url|collections_url|all_products_collection_url|search_url|predictive_search_url|cart_url|cart_add_url|cart_change_url|cart_clear_url|cart_update_url|product_recommendations_url|selling_plan_group_id|group_id|app_id|secure_url|domain|permanent_domain|password_message|enabled_payment_types|endonym_name|pick_up_time|role|suffix|directory|status|receipt|kind|gateway|status_label|amount|gateway_display_name|buyer_pending_payment_notice|measured_type|quantity_unit|reference_unit|bio|homepage|fulfilled_at|gift_cards_amount|order_id|order_name|order_number|header|credit_card_company|credit_card_last_four_digits|credit_card_number)\\b"
},
{
"name": "constant.numeric.property-value.liquid",
Expand Down

0 comments on commit 46dd2f9

Please sign in to comment.