Add “not” and “in” symbols to python-mode’s keywords to prettify

This commit is contained in:
Gergely Polonkai 2017-01-11 09:10:21 +01:00
parent 00efde0aa0
commit 3f47daebcb

View File

@ -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 ()