Revise latest code-cells-mode fix

Reaction to comment on e74610ddb5
This commit is contained in:
Maxi Wolff 2022-09-15 17:39:00 +02:00
parent 438fceea88
commit 54f12b66f0
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@
(use-package code-cells
:if (not (configuration-layer/layer-used-p 'ipython-notebook))
:defer t
:config
:commands (code-cells-mode)
:init
(progn
(add-hook 'python-mode-hook 'code-cells-mode)
(spacemacs/set-leader-keys-for-minor-mode 'code-cells-mode