Open compulim opened 7 years ago
I'm in agreement with @druellan's comment. This plugin is designed to close HTML tags, and I'd wager that's the functionality a huge majority of users are looking to get. But you can write HTML in a lot more than just .html
files. Most of mine is in .twig
files. I think "closeTag.ignoreTags" = "html"
is the safest default that will make the most people happy out of the box.
When the document is in HTML mode and in configuration "closeTag.ignoreTags" equals to "auto", it should automatically applies the HTML void tags.
Or think about a rule to applies different ignored tags based on document type.