lang/python: make : character electric

This commit is contained in:
Henrik Lissner 2017-04-09 15:02:31 -04:00
parent 8712f9dbb3
commit 9a5ea0e795

View file

@ -19,6 +19,7 @@
:config
(set! :repl 'python-mode '+python/repl)
(set! :electric 'python-mode :chars '(?:))
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
(sp-with-modes 'python-mode