diff options
| author | Protesilaos Stavrou <info@protesilaos.com> | 2022-08-28 06:48:55 +0300 |
|---|---|---|
| committer | Protesilaos Stavrou <info@protesilaos.com> | 2022-08-28 06:48:55 +0300 |
| commit | aadd680e8bc4f19eb4c05e0c72a743a7ccc09aa1 (patch) | |
| tree | 600716fad983bd18786a17b4767a559743ebdc16 /ef-themes.el | |
| parent | ba92b2bb45ac0d95deba1845d16d408c22784201 (diff) | |
Implement bespoke mappings for rx grouping
This give us full control over how backslashes and grouping constructs
are compared to the string. We want all three colours to be distinct.
Diffstat (limited to 'ef-themes.el')
| -rw-r--r-- | ef-themes.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ef-themes.el b/ef-themes.el index 830a8da..5f6eedb 100644 --- a/ef-themes.el +++ b/ef-themes.el @@ -857,8 +857,8 @@ Helper function for `ef-themes-preview-colors'." `(font-lock-keyword-face ((,c :inherit bold :foreground ,keyword))) `(font-lock-negation-char-face ((,c :inherit bold))) `(font-lock-preprocessor-face ((,c :foreground ,preprocessor))) - `(font-lock-regexp-grouping-backslash ((,c :inherit bold :foreground ,info))) - `(font-lock-regexp-grouping-construct ((,c :inherit bold :foreground ,err))) + `(font-lock-regexp-grouping-backslash ((,c :inherit bold :foreground ,rx-escape))) + `(font-lock-regexp-grouping-construct ((,c :inherit bold :foreground ,rx-construct))) `(font-lock-string-face ((,c :foreground ,string))) `(font-lock-type-face ((,c :foreground ,type))) `(font-lock-variable-name-face ((,c :foreground ,variable))) |
