branch: externals/ef-themes
commit 7e29eba3eeb4f152a5512aeba4a98a192cd8b444
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Remove background from consult lines
The default value of 'consult-line-number-prefix' inherits from the
'line-number' face. The Ef themes make the latter inherit from
'default' in order to have the lines increase/decrease in font size
when the user calls the 'text-scale-adjust' command. This arrangement
meant that Consult was implicitly getting the main background which
caused commands like 'consult-line' to not be highlighted from their
absolute beginning but only after the line number.
Thanks to Daniel Mendler for bringing this matter to my attention:
<https://lists.sr.ht/~protesilaos/ef-themes/%3Cb03413a6-cb77-615d-145d-db4eb710bfca%40daniel-mendler.de%3E>.
---
ef-themes.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ef-themes.el b/ef-themes.el
index 1005e1c0f8..74ec71549f 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1016,6 +1016,7 @@ Optional prefix argument MAPPINGS has the same meaning as
for
`(consult-key ((,c :inherit ef-themes-key-binding)))
`(consult-imenu-prefix ((,c :inherit shadow)))
`(consult-line-number ((,c :inherit shadow)))
+ `(consult-line-number-prefix ((,c :inherit shadow)))
`(consult-separator ((,c :foreground ,border)))
;;;; corfu
`(corfu-current ((,c :background ,bg-completion)))