diff --git a/dot_doom.d/config.el b/dot_doom.d/config.el index 318b5cb23769d4bbdca473b7f21a4dd7f971e0ff..feb3750b6ff1fe110485a5e87796c0cc670e8faf 100644 --- a/dot_doom.d/config.el +++ b/dot_doom.d/config.el @@ -181,3 +181,6 @@ ;; Look for various executables (amo/append-to-path "/usr/local/bin") (amo/append-to-path "~/.local/bin") + +;; Python settings +(add-hook 'python-mode-hook 'auto-virtualenv-set-virtualenv) diff --git a/dot_doom.d/init.el b/dot_doom.d/init.el index 8d3d23bcc57e6c7555c4d9ab010cf66026894883..a0fcf022a04532a8a8abb46856017fdc2b57c220 100644 --- a/dot_doom.d/init.el +++ b/dot_doom.d/init.el @@ -153,7 +153,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) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 diff --git a/dot_doom.d/packages.el b/dot_doom.d/packages.el index 8549e573ac8b65f3e1e61cbf1eced61a3915cca5..001bd42fc4b980539c15c6418820a1bdcf4e02f3 100644 --- a/dot_doom.d/packages.el +++ b/dot_doom.d/packages.el @@ -15,12 +15,14 @@ (package! ox-hugo) (package! flyspell) (package! markdown-mode) +(package! auto-virtualenv) ;; To install a package directly from a remote git repo, you must specify a ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: ;; https://github.com/raxod502/straight.el#the-recipe-format ;(package! another-package ; :recipe (:host github :repo "username/repo")) + (package! chordpro-mode :recipe (:host github :repo "sciurius/chordpro-mode"))