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

[v2.0.1] cannot declare variable without leading dash #38

Open aleclarson opened 6 years ago

aleclarson commented 6 years ago

In test/test.jade, you have:

_test  =  [{abc: "lalal"}]
name = function() {}

..which now compiles to:

<_test> =  [{abc: "lalal"}]</_test>
<name>= function() {}</name>

..in pug v2.0.1