Add semantic highlighting for singleton types

Fixes #1001555