Open Dafrok opened 8 years ago
I have the same bug, it seams to because of the absence operand after else: I guessed it because there is no such issue with else if. I tried to fix it modifying this line. However I’m not sure it can change anything because I haven’t got a proper dev environment for this project. To be continued..
I have the same issue. It's very annoying because I work with express and I have a lot of conditionals in my views. Any workarounds?
+1 the first line after an else is greyed out, whereas consecutive lines are correctly highlighted.
A possible workaround could be making the else statement else if(true)
which should mean the same thing as else
. However, it pains me to edit code unecessarily like that just because of failures of syntax highlighting.
pug-template: