Skip to content

Commit

Permalink
feat(emacs): Python: resolve venv
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Oct 21, 2024
1 parent 852e3c3 commit bc27052
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,9 @@
(use-package lsp-pyright
:hook (python-ts-mode . (lambda ()
(require 'lsp-pyright)
(lsp))))
(lsp)))
:custom
(lsp-pyright-venv-directory "./.venv"))

(use-package lsp-ruff
:ensure lsp-mode
Expand Down

0 comments on commit bc27052

Please sign in to comment.