Digitalbrainstem / ejs-grammar

EJS Grammar for VSCode
MIT License
76 stars 28 forks source link

Else if condition block incorrect #57

Open JustinChow opened 4 years ago

JustinChow commented 4 years ago

When using the ejs else if condition block, the create block results in <% } else if ({:condition}) { %> when it should be <% } else if (condition) { %>.

JustinChow commented 4 years ago

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.

Uttsavv commented 8 months ago

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)