diff options
author | Franck Cuny <franck@fcuny.net> | 2024-04-28 19:29:08 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-04-28 19:29:08 -0700 |
commit | 7aabaf5cc0eb59ff067dc93b1de80510c58fd840 (patch) | |
tree | d17921b84d1c2496f8e4ab24a2a759e6ee1440f6 /config/init-python.el | |
parent | install eldoc-box and tune GC settings (diff) | |
download | emacs.d-7aabaf5cc0eb59ff067dc93b1de80510c58fd840.tar.gz |
minor tweaks for python and eldoc-box
Diffstat (limited to '')
-rw-r--r-- | config/init-python.el | 10 |
1 files changed, 9 insertions, 1 deletions
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 |