mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/python: make : character electric
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user