Add “not” and “in” symbols to python-mode’s keywords to prettify
This commit is contained in:
parent
00efde0aa0
commit
3f47daebcb
7
init.el
7
init.el
@ -1031,6 +1031,13 @@
|
|||||||
(use-package dockerfile-mode
|
(use-package dockerfile-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
(add-hook 'python-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(add-to-list 'prettify-symbols-alist
|
||||||
|
'("not" . 172))
|
||||||
|
(add-to-list 'prettify-symbols-alist
|
||||||
|
'("in" . 8712))))
|
||||||
|
|
||||||
;; `c-mode' settings
|
;; `c-mode' settings
|
||||||
(add-hook 'c-mode-common-hook
|
(add-hook 'c-mode-common-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
Loading…
Reference in New Issue
Block a user