Make poetry a bit more responsive

master
Gergely Polonkai 3 years ago
parent ea0303af23
commit 26da644ad7
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93

@ -2768,7 +2768,12 @@ Because its also great.
#+BEGIN_SRC emacs-lisp
(use-package poetry
:config
(poetry-tracking-mode))
(poetry-tracking-mode)
(remove-hook 'post-command-hook 'poetry-track-virtualenv)
:hook
(poetry-tracking-mode . (lambda () (remove-hook 'post-command-hook 'poetry-track-virtualenv)))
(python-mode . poetry-track-virtualenv)
(projectile-after-switch-project-hook . poetry-track-virtualenv))
#+END_SRC
** Automatically insert Sphinx-style docstrings

Loading…
Cancel
Save