Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Adjust included patterns' order
Browse files Browse the repository at this point in the history
  • Loading branch information
P233 committed Dec 9, 2017
1 parent 3b4c76e commit 2e4eb32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Syntaxes/SCSS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ contexts:
# include patterns
- include: css_variable
- include: variable
- include: operator
- include: numeric
- include: unit
- include: operator
- include: function
- include: reserved_word
- include: property_value
Expand Down Expand Up @@ -177,14 +177,14 @@ contexts:
push: interpolation
- include: flag
- include: hex_color
- include: css_function_has_quote
- include: css_function
- include: function
- include: css_variable
- include: variable
- include: numeric
- include: unit
- include: operator
- include: css_function_has_quote
- include: css_function
- include: function
- include: reserved_word
- include: property_value
- match: ;|\)\s*$|\n
Expand Down Expand Up @@ -251,14 +251,14 @@ contexts:

interpolation:
- meta_scope: keyword.control.interpolation.sass
- include: function
- match: '{{quoted_string}}'
push: quoted_string
- include: css_variable
- include: variable
- include: operator
- include: numeric
- include: unit
- include: operator
- include: function
- include: property_value
- match: '{{quoted_string}}'
push: quoted_string
- match: '{{interpolation_end}}'
pop: true
16 changes: 8 additions & 8 deletions Syntaxes/Sass.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ contexts:
# include patterns
- include: css_variable
- include: variable
- include: operator
- include: numeric
- include: unit
- include: operator
- include: function
- include: reserved_word
- include: property_value
Expand Down Expand Up @@ -184,14 +184,14 @@ contexts:
push: interpolation
- include: flag
- include: hex_color
- include: css_function_has_quote
- include: css_function
- include: function
- include: css_variable
- include: variable
- include: numeric
- include: unit
- include: operator
- include: css_function_has_quote
- include: css_function
- include: function
- include: reserved_word
- include: property_value
- match: ;|\)\s*$|\n
Expand Down Expand Up @@ -258,14 +258,14 @@ contexts:

interpolation:
- meta_scope: keyword.control.interpolation.sass
- include: function
- match: '{{quoted_string}}'
push: quoted_string
- include: css_variable
- include: variable
- include: operator
- include: numeric
- include: unit
- include: operator
- include: function
- include: property_value
- match: '{{quoted_string}}'
push: quoted_string
- match: '{{interpolation_end}}'
pop: true

0 comments on commit 2e4eb32

Please sign in to comment.