-
Notifications
You must be signed in to change notification settings - Fork 63
Description
There should be a special highlight group for the error set operator (!) and the optional operator (?). I propose the names zigErrorSet
and zigOptional
for these highlight groups.
Ideally it would be possible to have zigErrorSet
not match the logical NOT operator (!), but I am not sure how such a thing might be implemented.
zigErrorSet
and zigOptional
should be linked to the (currently unused) zigSpecial
highlight group.
Additionally, I feel it would also make sense to create a new highlight group zigDeref
for the pointer dereference operator, which could perhaps also be linked to zigSpecial
.
? and ! in particular are quite important to pay attention to, so I feel it makes sense to allow them to be specially highlighted to make them more obvious when reading code.