mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/python: minor reformatting
This commit is contained in:
@ -156,7 +156,9 @@
|
||||
(defun +python-current-pyvenv () pyvenv-virtual-env-name)
|
||||
(add-hook 'pyvenv-post-activate-hooks #'+python|update-version)
|
||||
(add-hook 'pyvenv-post-deactivate-hooks #'+python|update-version)
|
||||
(add-to-list '+python-mode-line-indicator '(pyvenv-virtual-env-name (" venv:" pyvenv-virtual-env-name)) 'append))
|
||||
(add-to-list '+python-mode-line-indicator
|
||||
'(pyvenv-virtual-env-name (" venv:" pyvenv-virtual-env-name))
|
||||
'append))
|
||||
|
||||
|
||||
(def-package! conda
|
||||
@ -190,6 +192,5 @@
|
||||
(add-hook 'conda-postactivate-hook #'+python|update-version)
|
||||
(add-hook 'conda-postdeactivate-hook #'+python|update-version)
|
||||
(add-to-list '+python-mode-line-indicator
|
||||
'(conda-env-current-name
|
||||
(" conda:" conda-env-current-name))
|
||||
'(conda-env-current-name (" conda:" conda-env-current-name))
|
||||
'append))
|
||||
|
Reference in New Issue
Block a user