From 7aabaf5cc0eb59ff067dc93b1de80510c58fd840 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 28 Apr 2024 19:29:08 -0700 Subject: minor tweaks for python and eldoc-box --- config/init-python.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'config/init-python.el') diff --git a/config/init-python.el b/config/init-python.el index 6a4372a..847304f 100644 --- a/config/init-python.el +++ b/config/init-python.el @@ -9,12 +9,20 @@ (use-package python-mode :hook ((python-mode . tree-sitter-hl-mode) - (python-mode . eglot-ensure))) + (python-mode . eglot-ensure)) + :custom + ;; if set to an absolute path, pyvenv won't work + (python-shell-interpreter "python3")) (use-package blacken :ensure t :hook (python-mode . blacken-mode)) +(use-package pyvenv + :ensure t + :config + (pyvenv-mode 1)) + (provide 'init-python) ;;; init-python.el ends here -- cgit 1.4.1