Add +python-{ipython,jupyter}-command vars for REPLs

This commit is contained in:
Henrik Lissner 2020-08-25 21:22:56 -04:00
parent 76eae7bc46
commit 1c99aed0c0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 34 additions and 28 deletions

View file

@ -1,12 +1,10 @@
;;; lang/python/config.el -*- lexical-binding: t; -*-
(defvar +python-ipython-repl-args '("-i" "--simple-prompt" "--no-color-info")
"CLI arguments to initialize ipython with when `+python/open-ipython-repl' is
called.")
(defvar +python-ipython-command '("ipython" "-i" "--simple-prompt" "--no-color-info")
"Command to initialize the ipython REPL for `+python/open-ipython-repl'.")
(defvar +python-jupyter-repl-args '("--simple-prompt")
"CLI arguments to initialize 'jupiter console %s' with when
`+python/open-ipython-repl' is called.")
(defvar +python-jupyter-command '("jupyter" "console" "--simple-prompt")
"Command to initialize the jupyter REPL for `+python/open-jupyter-repl'.")
(after! projectile
(pushnew! projectile-project-root-files "setup.py" "requirements.txt"))