mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-10 15:33:36 -05:00
fix(default): void-variable python-mode-map
Seems `smartparens-python` no longer eagerly loads the `python` package.
This commit is contained in:
@@ -276,9 +276,10 @@ or if the current buffer is read-only or not file-visiting."
|
||||
(sp-local-pair "f'''" "'''")
|
||||
(sp-local-pair "f'" "'"))
|
||||
;; Original keybind interferes with smartparens rules
|
||||
(after! python
|
||||
(define-key (or (bound-and-true-p python-base-mode-map)
|
||||
python-mode-map)
|
||||
(kbd "DEL") nil)
|
||||
(kbd "DEL") nil))
|
||||
;; Interferes with the def snippet in doom-snippets
|
||||
;; TODO Fix this upstream, in doom-snippets, instead
|
||||
(setq sp-python-insert-colon-in-function-definitions nil))))
|
||||
|
Reference in New Issue
Block a user