TheRealSyler / vscode-sass-indented

Sass indented syntax support for VSCode
https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented
Other
44 stars 8 forks source link

Fix interpolation Syntax highlighting #35

Closed TheRealSyler closed 4 years ago

TheRealSyler commented 4 years ago

Note, in case someone who is not me reads this don't report bugs like this.

fix

@for $i from 0 through 3
  .nav-#{map-get($directions, $i)}
    #{map-get($directions, $i)}: 1rem
    ///R
    animation: nav-#{map-get($directions, $i)}-start 200ms ease
    @if $i % 2 == 0
      @include CenterX()
    @else
      @include CenterY()

// ------

  #{$dir}: 1rem
  ///R
  @include CenterX()
  animation: nav-#{$dir}-start 200ms ease