merge: pull request #5908 from ethan-leba/repl-handler
Add :send-region and :send-buffer options to `set-repl-handler!`
This commit is contained in:
commit
b88eb77605
3 changed files with 22 additions and 5 deletions
|
@ -26,7 +26,10 @@
|
|||
(when (executable-find "Microsoft.Python.LanguageServer")
|
||||
(set-eglot-client! 'python-mode '("Microsoft.Python.LanguageServer"))))
|
||||
:config
|
||||
(set-repl-handler! 'python-mode #'+python/open-repl :persist t)
|
||||
(set-repl-handler! 'python-mode #'+python/open-repl
|
||||
:persist t
|
||||
:send-region #'python-shell-send-region
|
||||
:send-buffer #'python-shell-send-buffer)
|
||||
(set-docsets! '(python-mode inferior-python-mode) "Python 3" "NumPy" "SciPy" "Pandas")
|
||||
|
||||
(set-ligatures! 'python-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue