You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)?
The text was updated successfully, but these errors were encountered:
Per the manual,
font-lock-warning-face
is the most prominent face for font-locking:Given the danger of incorrect usage of
@inbounds
and the degree to which@generated
changes 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)?
The text was updated successfully, but these errors were encountered: