mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/python: make : character electric
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
:config
|
:config
|
||||||
(set! :repl 'python-mode '+python/repl)
|
(set! :repl 'python-mode '+python/repl)
|
||||||
|
(set! :electric 'python-mode :chars '(?:))
|
||||||
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
|
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
|
||||||
|
|
||||||
(sp-with-modes 'python-mode
|
(sp-with-modes 'python-mode
|
||||||
|
Reference in New Issue
Block a user