Include some minimal package configuration for pyvenv

As described by https://ddavis.io/posts/emacs-python-lsp/.
This commit is contained in:
Daniel - 2021-04-22 15:29:56 +02:00
parent 02085570e6
commit eac4ff3146
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 5 additions and 0 deletions

View File

@ -2997,6 +2997,11 @@ With given ARG, display files in `db/important-document-path."
(add-hook 'python-mode-hook #'company-mode)
(add-hook 'python-mode-hook #'lsp)))
;; https://ddavis.io/posts/emacs-python-lsp/
(use-package pyvenv
:ensure t
:commands (pyvenv-workon pyvenv-activate))
(use-package shr
:init (setq shr-use-fonts nil
shr-use-colors nil