Per the manual, font-lock-warning-face is the most prominent face for font-locking:
for a construct that is peculiar (e.g., an unescaped confusable
quote in an Emacs Lisp symbol like ‘‘foo’), or that greatly changes
the meaning of other text, like ‘;;;###autoload’ in Emacs Lisp and
‘#error’ in C.
Given the danger of incorrect usage of @inbounds and the degree to which @generated changes the meaning of a function or if-statement, I think it makes sense to use this face for them.
Are there any other constructs that deserve this same level of prominence in font-locking? Does everyone generally agree that this is an appropriate usage for this face (and non-disruptive)?
Per the manual,
font-lock-warning-faceis the most prominent face for font-locking:Given the danger of incorrect usage of
@inboundsand the degree to which@generatedchanges the meaning of a function orif-statement, I think it makes sense to use this face for them.Are there any other constructs that deserve this same level of prominence in font-locking? Does everyone generally agree that this is an appropriate usage for this face (and non-disruptive)?