lang/python: make : character electric
This commit is contained in:
parent
8712f9dbb3
commit
9a5ea0e795
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue