genoma / language-pug

A Pug (was Jade) syntax highlighting for Atom, derived from https://github.com/davidrios/jade-tmbundle
MIT License
26 stars 8 forks source link

Interpolation inside Case appear like text color #47

Open OsamaElzero opened 6 years ago

OsamaElzero commented 6 years ago

When using This

case friends
  when 0: p you have no friends
  when 1: p you have one friends
  default: p you have #{friends} friends

Interpolation of #{friends} appear with green color and everything is ok

but when using this

case friends
  when 0
    p you have no friends
  when 1
    p you have 1 friends
  default
    p you have #{friends} friends

the p after default is colored white like text and although #{friends is not green and appear as white like text