Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit a315d07

Browse files
author
Benedikt Tissot
committed
fix complication for repl mode
1 parent 2ae7644 commit a315d07

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

packages.el

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,22 @@
3030
;;; Code:
3131

3232
(defconst jupyter-packages
33-
'(jupyter))
33+
'(
34+
company
35+
jupyter
36+
))
3437

3538
(defun jupyter/init-jupyter ()
3639
(if (executable-find "jupyter")
3740
(use-package jupyter
3841
:defer t
3942
:init
40-
(spacemacs/set-leader-keys
41-
"ajr" 'jupyter-run-repl
42-
"ajc" 'jupyter-connect-repl)
43+
;; (progn
44+
(spacemacs/set-leader-keys
45+
"ajj" 'jupyter-run-repl
46+
"ajr" 'jupyter-run-repl
47+
"ajc" 'jupyter-connect-repl)
48+
;; (spacemacs|add-company-backends :backends company-capf :modes jupyter-repl-mode))
4349
:config
4450
(progn
4551
(evilified-state-evilify-map 'jupyter-repl-mode-map
@@ -68,8 +74,6 @@
6874
(message "jupyter was not found in your path, jupyter is not loaded")))
6975

7076
(defun jupyter/post-init-company ()
71-
(spacemacs|add-company-backends
72-
:backends company-capf
73-
:modes jupyter-repl-mode))
77+
(spacemacs|add-company-backends :backends company-capf :modes jupyter-repl-mode))
7478

7579
;;; packages.el ends here

0 commit comments

Comments
 (0)