Skip to content

Use font-lock-punctuation-face for deref @ marker#138

Merged
bbatsov merged 1 commit into
mainfrom
fix-deref-face
Jun 16, 2026
Merged

Use font-lock-punctuation-face for deref @ marker#138
bbatsov merged 1 commit into
mainfrom
fix-deref-face

Conversation

@bbatsov

@bbatsov bbatsov commented Mar 24, 2026

Copy link
Copy Markdown
Member

The @ deref marker is syntax punctuation, not a warning. Using font-lock-warning-face for it doesn't make much sense semantically, and warning faces tend to be bright red in many themes, which looks odd for a routine operator like deref.

font-lock-punctuation-face is a much better fit -- it's what tree-sitter modes typically use for syntax punctuation characters.

The @ deref marker is syntax punctuation, not a warning.
font-lock-warning-face tends to be bright red in many themes,
which looks odd for a routine operator.
@bbatsov bbatsov merged commit af00860 into main Jun 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant