What version of JetBrains' Pug Plugin is being used?
I cannot confirm anywhere in the Plugin description of what version of Pug (Ex-Jade) syntax this plugin is using. I am using the following code (which is legitimate Pug v2, but the plugin is marking it as such:

L28 Error: Expecting newline or semicolon
L32 Error: Must be lvalue
L34-L37 Warning: Expression Statement is not assignment or call
L40 Error: Expression expected
The Syntax is 100% to my knowledge.
Please sign in to leave a comment.
similar syntax works fine for me
what is your PHPStorm version? Can you provide a .pug file that shows up the issue?