Add function to prettify symbol list
This commit is contained in:
parent
0be142e232
commit
9cf095303a
5
init.el
5
init.el
@ -1034,7 +1034,9 @@ INFO plist."
|
|||||||
(add-to-list 'prettify-symbols-alist
|
(add-to-list 'prettify-symbols-alist
|
||||||
'("not" . 172))
|
'("not" . 172))
|
||||||
(add-to-list 'prettify-symbols-alist
|
(add-to-list 'prettify-symbols-alist
|
||||||
'("in" . 8712))))
|
'("in" . 8712))
|
||||||
|
(add-to-list 'prettify-symbols-alist
|
||||||
|
'("def" . 402))))
|
||||||
|
|
||||||
;; `c-mode' settings
|
;; `c-mode' settings
|
||||||
(add-hook 'c-mode-common-hook
|
(add-hook 'c-mode-common-hook
|
||||||
@ -1156,6 +1158,7 @@ INFO plist."
|
|||||||
;; Add some symbols to be prettified
|
;; Add some symbols to be prettified
|
||||||
(setq prettify-symbols-alist
|
(setq prettify-symbols-alist
|
||||||
'(("lambda" . 955) ; λ
|
'(("lambda" . 955) ; λ
|
||||||
|
("function" . 402) ; ƒ
|
||||||
("->" . 8594) ; →
|
("->" . 8594) ; →
|
||||||
("=>" . 8658) ; ⇒
|
("=>" . 8658) ; ⇒
|
||||||
("map" . 8614) ; ↦
|
("map" . 8614) ; ↦
|
||||||
|
Loading…
Reference in New Issue
Block a user