Pyright virutalenvs

This commit is contained in:
Wojciech Kozlowski 2021-08-29 21:28:59 +02:00
parent 71f7dc6b65
commit 8f48a26530

View File

@ -166,14 +166,16 @@
(python-mode . x-lsp-disable-snippet))
(use-package lsp-pyright
:defer t)
:defer t
:init
(setq lsp-pyright-venv-path "~/.virtualenvs"))
(use-package py-autopep8
;; Note that this package require autopep8 to be installed.
:bind (("C-c C-f" . py-autopep8-buffer)))
(use-package pyvenv
:defer t)
:commands pyvenv-create)
;; -----------------------------------------------------------------------------------------------
;; Rust.