Use selector to detect syntax #11
Fixes: Compatibility with external HTML syntaxes that has a different name but the same root scope. Example: borela/naomi#173
Short description of what this resolves:
Detect any HTML syntax by scope instead of name, this will enable the plugin to work with HTML4, HTML5, etc... syntaxes.
Add the selector and remove syntax name.
referenced this pull request
Sep 27, 2018
I had to disable D211 because it was conflicting with D203, it seams to be the change that required the least amount of comestic changes to the current code style.