prettify-custom-symbols.el 413 B

12345678910111213
  1. (add-hook 'prog-mode-hook
  2. (lambda ()
  3. (setq prettify-symbols-alist
  4. (append
  5. '(
  6. ("->" . ?→)
  7. ("lambda" . ?λ)
  8. ("->" . ?→)
  9. ("<=" . ?≤)
  10. (">=" . ?≥)
  11. ("!=" . ?≠)) prettify-symbols-alist))))
  12. (provide 'prettify-custom-symbols)