smartparens: more conservative single-quote autopairing
This commit is contained in:
parent
764681368d
commit
aa23b3c5c1
2 changed files with 5 additions and 2 deletions
|
@ -19,7 +19,10 @@
|
|||
|
||||
:config
|
||||
(set! :repl 'python-mode '+python/repl)
|
||||
(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-local-pair "'" nil :unless '(sp-point-before-word-p sp-point-after-word-p sp-point-before-same-p))))
|
||||
|
||||
|
||||
(def-package! anaconda-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue