Closed rudolf-adamkovic closed 2 years ago
I can reproduce this. Though it is not related to the active theme.
This isn't a bug in all-the-icons-dired but rather a bug in hl-line-mode and emacs in general. It's not possible to set the background alpha transparency of a face in emacs, and the hl-line-mode overlay is interfering with all-the-icons-dired's. Your best bet is to advice hl-line-move
, which is called by both global-hl-line-highlight
and hl-line-highlight
. In the advice you can find the icon overlay and set the background of font-lock-face
.
@wyuenho I am experiencing the same issue. I went through the codes quickly, and think it's caused by overlay. It was introduced by https://github.com/jtbm37/all-the-icons-dired/pull/24.
There's no good fix for this short of emacs start supporting alpha transparency of a face.
The icons break the highlight provided by the built-in
hl-line-mode
:(Tested with the built-in Modus Operandi theme.)