ejs-grammar
ejs-grammar copied to clipboard
Else if condition block incorrect
When using the ejs else if condition block, the create block results in <% } else if ({:condition}) { %> when it should be <% } else if (condition) { %>.
Quickly fixed this and created pull request #58. It's only a single line change so anyone who has this issue can modify their own snipets.json with the fix if they want the fix before the pull request is merged.
Hey, I was wondering why it is set to not add a closing bracket by default, Is there a reason for that? (Same with normal ejselse)