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

Else Block Show Element as Text #42

Open OsamaElzero opened 6 years ago

OsamaElzero commented 6 years ago
- var myArray = ['HTML', 'CSS', 'PHP', 'MySQL', 'JavaScript']
each val, index in myArray
  div= index + ' : ' + val
else
  p There's No Value

Here "p" Must be Colored because its Element and its Rendered as Element but its show as Text

thatjeannie commented 6 years ago

screen shot 2018-10-19 at 8 22 08 pm this is it

rotsee commented 4 years ago

Also reported here: https://github.com/genoma/language-pug/issues/2 In that thread is a suggested fix, I someone wants to do a PR