Digitalbrainstem / ejs-grammar

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

Auto Closing Brackets #36

Open ghost opened 5 years ago

ghost commented 5 years ago

Could you introduce a quick thing that would work similar to auto closing html brackets but with ejs tags?

ExE-Boss commented 5 years ago

This should be working already: https://github.com/Digitalbrainstem/ejs-grammar/blob/2175126dc68b75a2ea28950c2d5031e194bab0f6/language-configuration.json#L27

mattschuette commented 5 years ago

I think this actually stems from #35. If you can convince the formatter that all previous EJS tags have closed, you then get auto-closing behavior.