diff --git a/config.el b/config.el index e62332f..84c4721 100644 --- a/config.el +++ b/config.el @@ -106,6 +106,9 @@ ;; Always open magit in other window. (after! magit (setq magit-display-buffer-function #'magit-display-buffer-traditional)) +;; Python virtualenv configuration. +(after! lsp-pyright (setq lsp-pyright-venv-path (concat (getenv "HOME") "/.virtualenvs"))) + ;; Extra VTerm configuration. (after! vterm (setq vterm-shell "/bin/zsh" diff --git a/init.el b/init.el index 86b6ffd..5818ce8 100644 --- a/init.el +++ b/init.el @@ -155,7 +155,7 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - ;;python ; beautiful is better than ugly + (python +lsp +pyright) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6