Skip to content

Commit

Permalink
fix #51 unquoted strings in parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Dec 4, 2018
1 parent 9d42df0 commit 7995dd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Syntaxes/Sass.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,8 @@ contexts:
- include: sass-custom-functions
- include: sass-interpolation
- include: sass-operators
- include: unquoted-string
- match: '\b[^\s''"\(\)]+\b'
scope: string.unquoted.css

builtin-functions:
- include: attr-function
Expand Down
1 change: 1 addition & 0 deletions Tests/syntax_test_scss.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ selector-ish::before[data-type="text"]:not(:first-child),
// ^ support.type.property-name.css
// ^ - meta.selector
// ^ - keyword.operator
$variable: '#{$font-path}#{get-font-name(param12)}/dt_primary_#{$size}';
$width: 5em !global;
//^^^^^^ variable.declaration.sass
//^ punctuation.definition.variable.sass
Expand Down

0 comments on commit 7995dd0

Please sign in to comment.