diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-30 10:39:52 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-30 10:39:52 -0400 |
| commit | 11e45bee9f101e998131d2938a778c5f52887131 (patch) | |
| tree | 11886f3a64c0e62d3c4f14ae00158f273ae625ee /scripts/theme-studio/capture-default-faces.py | |
| parent | e1796a9054ba7935ebc7edda53c697eca25c238c (diff) | |
| download | dotemacs-11e45bee9f101e998131d2938a778c5f52887131.tar.gz dotemacs-11e45bee9f101e998131d2938a778c5f52887131.zip | |
feat(theme-studio): surface the five remaining font-lock faces
Add the font-lock faces the syntax tier didn't cover (warning, doc-markup, negation-char, and the two regexp-grouping faces) as their own editable categories: warn, dmark, neg, rxgb, rxgc. Each maps 1:1 to its face, seeds from the stock defaults, and is exercised in the code-sample preview via a TODO comment, a docstring substitution, a string regexp, and a C negation.
Injected only the five new faces into the default-faces snapshot rather than regenerating it wholesale. A full recapture pulls in unrelated package-inventory drift.
Diffstat (limited to 'scripts/theme-studio/capture-default-faces.py')
| -rw-r--r-- | scripts/theme-studio/capture-default-faces.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/theme-studio/capture-default-faces.py b/scripts/theme-studio/capture-default-faces.py index a5214fd5..b9104c9d 100644 --- a/scripts/theme-studio/capture-default-faces.py +++ b/scripts/theme-studio/capture-default-faces.py @@ -52,6 +52,11 @@ SYNTAX = { "font-lock-delimiter-face", "font-lock-misc-punctuation-face", ], + "warn": ["font-lock-warning-face"], + "dmark": ["font-lock-doc-markup-face"], + "neg": ["font-lock-negation-char-face"], + "rxgb": ["font-lock-regexp-grouping-backslash"], + "rxgc": ["font-lock-regexp-grouping-construct"], } UI = [ |
