From 2dba9419e3853028169ab50d062066b59b8c625d Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Fri, 8 Apr 2022 20:52:38 +0200 Subject: [PATCH] Add python module --- config.el | 3 +++ init.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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