Include some minimal package configuration for pyvenv
As described by https://ddavis.io/posts/emacs-python-lsp/.
This commit is contained in:
parent
02085570e6
commit
eac4ff3146
5
init.el
5
init.el
|
@ -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 #'company-mode)
|
||||||
(add-hook 'python-mode-hook #'lsp)))
|
(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
|
(use-package shr
|
||||||
:init (setq shr-use-fonts nil
|
:init (setq shr-use-fonts nil
|
||||||
shr-use-colors nil
|
shr-use-colors nil
|
||||||
|
|
Loading…
Reference in New Issue