Looks like a syntax highlighting bug for elements with dashes/hyphens in them like "amp-selector" and other "amp" elements/components.
See attached.
For "<amp-selector ...", "<amp" is highlighted in a different color than "selector".
"</amp-selector>" is not the right color for end tags.
png
png
Comments