Add company backend handler when initializing jupyter-repl-mode

This commit is contained in:
Nathaniel Nicandro 2017-12-27 21:55:16 -06:00
parent 9ba4c4125f
commit fc5b58e355

View file

@ -727,6 +727,7 @@ Returns the count of cells left to move."
"Jupyter-REPL"
"A major mode for interacting with a Jupyter kernel."
(setq-local indent-line-function #'jupyter-repl-indent-line)
(setq-local company-backends (cons 'company-jupyter-repl company-backends))
(add-hook 'after-change-functions 'jupyter-repl-after-buffer-change nil t)
(add-hook 'before-change-functions 'jupyter-repl-before-buffer-change nil t))