Add pyvenv to manage Python virtualenvs and fix local keymap
This commit is contained in:
parent
72e965eb3e
commit
132763400c
1 changed files with 5 additions and 2 deletions
7
init.el
7
init.el
|
@ -301,13 +301,16 @@
|
|||
(use-package lsp-pyright
|
||||
:straight t
|
||||
:hook (python-mode . (lambda ()
|
||||
(local-unset-key (kbd "C-f"))
|
||||
(require 'lsp-pyright)
|
||||
(lsp))) ; or lsp-deferred
|
||||
(lsp) ; or lsp-deferred
|
||||
(local-unset-key (kbd "C-f"))))
|
||||
:config
|
||||
(setq lsp-pyright-use-library-code-for-types nil)
|
||||
(flycheck-add-next-checker 'lsp 'python-pylint))
|
||||
|
||||
(use-package pyvenv
|
||||
:straight t)
|
||||
|
||||
(use-package julia-mode
|
||||
:straight t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue