aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index b80cc05..afa0c55 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -104,11 +104,12 @@
("M-RET" . #'srefactor-refactor-at-point))
:after project)
-(use-package elpy
- :ensure t
- :defer t
+(use-package python
+ :ensure nil
+ :hook ((python-mode python-ts-mode) . lsp))
+(use-package pet
:init
- (advice-add 'python-mode :before 'elpy-enable))
+ (add-hook 'python-base-mode-hook 'pet-mode -10))
(use-package lsp-mode
:commands lsp