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 | 3ec5eef7025d2bdbb9efbb2dc1026d65ca3a8590 (patch) | |
| tree | ed25021c7f7b265b51dccd73095cef361459abe8 /scripts/theme-studio/capture-default-faces.py | |
| parent | b7e4c817dbe278831015b8b406d60a4f42ae5160 (diff) | |
| download | dotemacs-3ec5eef7025d2bdbb9efbb2dc1026d65ca3a8590.tar.gz dotemacs-3ec5eef7025d2bdbb9efbb2dc1026d65ca3a8590.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 a5214fd5a..b9104c9d7 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 = [ |
