Hacker News new | ask | show | jobs
by lifthrasiir 3674 days ago
Isn't that an appropriate keyword to highlight, just like `char`?
1 comments

Not if you use a language where it isn't a keyword.
I don't think the intent is to flag up invalid syntax/usage, but to make sensible guesses about what strings should be highlighted, to aid readability.

There are few cases where having wchar_t in any code snippet would not indicate some sort of keyword/type annotation

I have used universal syntax highlighting and when it highlights stuff that shouldn't be highlighted, it is very annoying and confusing.