manateelazycat / holo-layer

HoloLayer is a multimedia layer plugin designed specifically for Emacs
GNU General Public License v3.0
130 stars 19 forks source link

Allow to use current cursor color in cursor animation #38

Closed mkvoya closed 4 months ago

mkvoya commented 4 months ago

增加了功能:当 holo-layer-cursor-color 的值为 nil 的时候,cursor_animation 会使用当前光标的颜色展示动画。这样当 Emasc 里面的光标颜色变化之后(比如不同 evil mode 用不同颜色的光标),cursor_animation 展示出来的颜色更协调。 实现:在 cursor_info 的最后增加了当前光标的颜色,从而传递到 python 端。

manateelazycat commented 4 months ago

Cool