by jasonjmcghee · 1y ago · 0 comments
That's not what syntax highlighting is for though.
That's falls under diagnostics. A big red squiggly line. The honest test would be to add that in both cases.
I am presenting an argument against this - and stating it's the responsibility of _diagnostics_ to tell you when you've made a typo, not syntax highlighting.