emacs 哪个包可以把 lambda 美化成 λ

哪个包可以把 lambda 美化成 λ

Emacs 24.4 加入的 prettify-symbols-modeglobal-prettify-symbols-mode

9 个赞

这个包只能显示lambda吗? 我试了试 >=,没有显示为

js–prettify-symbols-alist is a variable defined in `js.el’. Its value is (("=>" . 8658) (">=" . 8805) ("<=" . 8804))

lisp-prettify-symbols-alist is a variable defined in `lisp-mode.el’. Its value is ((“lambda” . 955))

(push '(">=" . ?≥) prettify-symbols-alist)

(your username is fucking evil :crazy_face:)

欢迎参考我的配置~~ https://github.com/MetroWind/dotfiles-mac/blob/master/.emacs-pkgs/mw-unicode-symbols-subst.el

1 个赞

all-the-icons吧?