Make poetry a bit more responsive
This commit is contained in:
parent
ea0303af23
commit
26da644ad7
@ -2768,7 +2768,12 @@ Because it’s 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…
Reference in New Issue
Block a user